A_WraithFX2
Jump to navigation
Jump to search
A_WraithFX2
(no parameters)
Does nothing if the calling actor has no valid target.
Spawns a WraithFX2 at the calling actor's location and gives it a horizontal velocity, towards a random direction that deviate from its facing by up to 90°. There is a 50% chance for either left or right. The velocities on both X and Y axes are randomly between 1.0 and 1.5 unit, then adjusted by trigonometry according to the direction; so the practical combined velocity will be between 1.0 and 2.121.
This codepointer is restricted to WraithFX1 and derived classes.