run n' gun enemies in doom

Discuss anything ZDoom-related that doesn't fall into one of the other categories.

run n' gun enemies in doom

Post by Guest »

Is there any way to add enemies that can fire and move at the same time because that aren't multiplayer bots because it seems as they can only do one thing at a time.
User avatar
Posts: 1297
Joined: Tue Dec 06, 2016 11:25 am

Re: run n' gun enemies in doom

Post by Cherno »

If you call A_Chase (or A_Wander for more random movement) with parameters that prevent jumping to an attack state (passsing null for both Melee and Missile state names) you can freely combine these calls with attack function calls.

Return to “General”