A_LeafCheck
Jump to navigation
Jump to search
A_LeafCheck
(no parameters)
This codepointer has the following effects:
- Increments a counter kept in special1, and destroys the calling actor when the counter reaches 20.
- Has a 25% chance of thrusting the calling actor forward by a random amount between 1 and 3.
- Jumps to the state Spawn+7.
- Sets actor's the Z momentum to a random number between 1 and 3.
- Adds the MISSILE flag to the calling actor.
This codepointer is restricted to Leaf1 and derived classes.
Examples
See Leaf1 for an example.