A_SorcFX2Orbit
Jump to navigation
Jump to search
A_SorcFX2Orbit
(no parameter)
First ensures that the parent actor (Heresiarch) is alive and that the first argument (defense timer) has not run out. If either condition is false then it will jump to its Death state, set the parents first argument to 0, and remove the REFLECTIVE and INVULNERABLE flags from the parent.
If this is the counter-clockwise moving actor (indicated by the first argument being non-zero), then it will decrement the parent's first argument by one and do the same as above except for unsetting the INVULNERABLE flag.
Finally the calling actor orbits the parent spawning SorcFX2T1 actors as a trail.
This codepointer is restricted to SorcFX2 and derived classes.