Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>3976567
- The easiest way for a newbie is making a fear_token or whatever inventory item. Give (35*seconds) of them to the actor when it becomes frightened, and at the end of the see state do
- >TNT1 A 0 A_jumpif(countinv(fear_token)==0, "Unfrighten")
- >loop
- >Unfrighten:
- >TNT1 A 0 A_ChangeFlag("FRIGHTENED", FALSE)
- >Goto See
- You can do it much cleaner ways with zscript or anonymous expressions in decorate but you'll get there eventually.
Advertisement
Add Comment
Please, Sign In to add comment