Guest User

Untitled

a guest
May 7th, 2017
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. >>3976567
  2. 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
  3.  
  4. >TNT1 A 0 A_jumpif(countinv(fear_token)==0, "Unfrighten")
  5. >loop
  6.  
  7. >Unfrighten:
  8. >TNT1 A 0 A_ChangeFlag("FRIGHTENED", FALSE)
  9. >Goto See
  10.  
  11. 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