GhostOff
From Eternity Wiki
Jump to navigationJump to search
Description
Removes the ghost effect, such as from Heretic disciples, when being hit or killed.
Usage
GhostOff
Parameters
No parameters.
Examples
From base/heretic/things.edf:
Pain: WZRD E 3 A_GhostOff WZRD E 3 A_Pain goto See Death: WZRD F 6 A_GhostOff WZRD G 6 A_Scream WZRD HI 6 WZRD J 6 A_Fall WZRD KL 6 WZRD M -1 stop
Notes
This action simply removes the GHOST flag from the thing. Unlike WizardAtk1, this one doesn't call FaceTarget as well, and is only used in Heretic in the pain and death states.
You can just use SetFlags and UnSetFlags to modify thing flags.