Jump to content
  • 0

Forcing Enemies to Run from Specific Weapons


[name_withheld]

Question

I want the enemies to run when I come near them (or they see me, i guess,) with the chainsaw. There's an example on the zDooM wiki that shows how to use A_ChangeFlag and A_JumpIfInTargetInventory to change a monster's +FRIGHTENED flag from within the monster's own coding. However, that would require modifying code for a LOT of enemies I plan on using.

 

Is there a way to achieve this same effect universally from within the coding of the chainsaw itself? I'm using decorate. Thanks in advance to anyone who may be able to help!

Share this post


Link to post

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...