A_AvoidTarget

Moderator: GZDoom Developers

Post Reply
questionmuppet
Posts: 6
Joined: Wed Jul 27, 2005 9:05 pm
Location: Minneapolis, MN

A_AvoidTarget

Post by questionmuppet »

I would like to see an action function that made a monster avoid its target. I don't know how hard this would be, but wouldn't it amount largely to just flipping its angle before it moves? (If I am way off and this is really hard, please forgive the noob).

Anyway, then I could do something like this and have an actor that is afraid of the player:

States {

See:
SPRI A 0 A_JumpifCloser(SAFEDISTANCE, 5)
SPRI ABCD 4 A_Wander
Loop
SPRI ABCD 4 A_AvoidTarget
Loop
}
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”