[Done (indirectly)] A_AvoidTarget

Moderator: GZDoom Developers

A_AvoidTarget

Postby questionmuppet » Mon Aug 01, 2005 1:04 pm

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
}
questionmuppet
 
Joined: 27 Jul 2005
Location: Minneapolis, MN

Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest