Editing WhirlwindSeek

From Eternity Wiki
Jump to navigationJump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{codepointer
WhirlwindSeek is a special homing maintenance pointer for whirlwinds.
|description=WhirlwindSeek is a special homing maintenance pointer for whirlwinds.
 
|usage='''WhirlwindSeek'''
|examples=
From base/heretic/things.edf:
  Spawn:
    FX07 DEFG 3
    FX07 ABC  3 A_WhirlwindSeek
    goto Spawn+4
|notes=
It does the following algorithm:
It does the following algorithm:
*It lowers the 0 counter by 3. When it reaches negative, it will stop the calling object's movement, make it enter its death state and remove its '''MISSILE''' flag. Algorithm will be exited.
*It lowers the 0 counter by 3. When it reaches negative, it will stop the calling object's movement, make it enter its death state and remove its '''MISSILE''' flag. Algorithm will be exited.
*Then, it lowers the 1 counter by 3. When it reaches negative, it will reset the 1 counter to random(58,89) and play the ht_hedat3 sound. Execution continues.
*Then, it lowers the 1 counter by 3. When it reaches negative, it will reset the 1 counter to random(58,89) and play the ht_hedat3 sound. Execution continues.
*If the pursued target has nonnegative health and is not a '''GHOST''', it will call '''HticTracer'''(10,30), possibly homing on it if '''SEEKERMISSILE''' is set and is spawned from a compatible codepointer. Otherwise, it will attempt to follow another target if the spawning object (e.g. the iron lich) has found another.
*If the pursued target has nonnegative health and is not a '''GHOST''', it will call '''HticTracer'''(10,30), possibly homing on it if '''SEEKERMISSILE''' is set and is spawned from a compatible codepointer. Otherwise, it will attempt to follow another target if the spawning object (e.g. the iron lich) has found another.
|seealso=
 
*[[GenTracer]]
===See also===
*[[HticTracer]]
*[[List of codepointers]]
*[[Tracer]]
 
}}
[[Category:Codepointers]]
Please note that all contributions to Eternity Wiki are considered to be released under the GNU Free Documentation License 1.2 (see Eternity Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)

Template used on this page: