Jump to content

Range positioning in DECORATE


Lycaon

Recommended Posts

Which is the property that allows to control how an actor positions before shooting the player? For example, I want a shotgun enemy to shoot from close range and a similar enemy with a sniper shooting from long range. Pretty much like the scripted marine does, only there seem to be hardcoded missile states for those actors. To customize the shooting I would use the A_CustomBulletAttack, but how do I get the monster to engage the player and not roam around waiting there's a chance to shoot? I know I sound clueless but I'm really not very good at programming.

Share this post


Link to post

You could use both the +MISSILEMORE and +MISSILEEVENMORE actor flags, if the monsters are more likely to fire they'll be less likely to roam around.

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