OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Blackblood on 02 May 2003, 08:09:24

Title: Fast turn-around
Post by: Blackblood on 02 May 2003, 08:09:24
Searched the faq. No go. Here it is:
You know how the ai s-l-o-w-l-y turns when you come up from behind, leaving you time enough to watch a movie and phone your relatives.
I need to make the ai turn around faster, using trigonometry and not watch-commands (too slow). This would really beef up the realism and difficulty level. Any suggestions?
Title: Re:Fast turn-around
Post by: Blackblood on 02 May 2003, 12:34:12
How come stuff always pop up when youÂ've given up looking for it?  ::)

I found the answer on the Ed depot. Toadlife wrote a nifty little function called: DirToObj. That covers it all.  8)