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!
Question
[name_withheld]
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.