Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Lycaon

Missile attack alternated with evasion

Recommended Posts

How can I make it so that an actor runs to cover, or at least simply moves, after firing a few "A_Firecustommissile", and then fire from that point? I would especially like it to be really impredictable and switch positions really fast.

Share this post


Link to post

Use A_Chase("","") inside the Missile codepointer, let the monster walk without attacking for a while, then let it repeat its attack. Perhaps experiment with some random state jumps with A_Jump. Or use A_ChangeFlag("FRIGHTENED",1) to temporarily make it run away from the player, then you must make sure to change the flag back again (I recommend to do it in both Missile and Pain state). Check out A_FastChase too, it makes the monster randomly strafe while walking, or ThrustThing (it works in both ACS and DECORATE).

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×