Blink - AndroidQuazar/VanillaExpandedFramework GitHub Wiki
CompBlink is a comp class that makes the animal "blink" uncontrollably between different positions. Note that this behaviour only happens if the animal is "wandering" or it would affect sleep, feeding and attacking, unless blinkWhenManhunter is set to true, in which case the animal will blink close to its target.
public int blinkInterval = 500;
public IntRange distance = new IntRange(5, 10);
public bool warpEffect = false;
public bool effectOnlyWhenManhunter = false;
public bool blinkWhenManhunter = false;
It is a comp class, so you just add it in XML in the <comps>
tag. For example, this allows an animal to blink 10 to 20 tiles away every 1000 ticks, and shows a warping effect every time it does
<comps>
<li Class="AnimalBehaviours.CompProperties_Blink">
<blinkInterval>1000</blinkInterval>
<distance>10~20</distance>
<warpEffect>true</warpEffect>
</li>
</comps>