Jump to content

how to make static enemies?


Recommended Posts

I want to make a monster that can throw rockets at me and have all the states except for walking like pain, anger, etc. In short, be stationary at one point. i want to know how to decorate code look like this.

Share this post


Link to post

If you want him to always stay still the the same spot you placed it, then you could just set his speed to 0, you don't really need anything else.

On the other hand, if you want him to move around randomly and just stop when he sees the player/target, then you can go for the "CHF_DONTMOVE" flag in A_Chase

Share this post


Link to post

Join the conversation

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

Guest
Reply to this topic...

×   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...