OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Arctic on 13 Apr 2003, 20:18:59

Title: Attacking from angle
Post by: Arctic on 13 Apr 2003, 20:18:59
Ok... i'm trying to create an ambush script that will send an attacker at a random angle towards the player. I can difure out how to give the object the heading, but not how to tell the attacker to move a certain ways so that he can attack from an angle.

I'm sure I could use some of those trig functions... but I haven't gotten that far in math yet so it'd b a fools attempt for me to try and do it now.