A_CheckFloor
Jump to navigation
Jump to search
state A_CheckFloor (int offset)
state A_CheckFloor (str "state")
Note: Jump functions perform differently inside of anonymous functions. |
Jumps if actor is standing on or submerged into the floor.
Examples
This rocket does not explode when it hits the ground.
ACTOR Useless_Rocket: Rocket Replaces Rocket { DeathSound "None" States { Spawn: MISL A 1 Bright Loop CancelMovement: MISL A 1 Bright Loop Death: MISL B 0 A_CheckFloor("CancelMovement") MISL B 0 A_PlaySound("weapons/rocklx") MISL B 8 Bright A_Explode MISL C 6 Bright MISL D 4 Bright Stop } }