OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Ace Productions on 27 May 2004, 12:07:57

Title: Car mechanic script
Post by: Ace Productions on 27 May 2004, 12:07:57
Hello again,

I'm preparing a script that will add a vehicle mechanic in a group of units. The player will be able to order him to fix any vehicle found in his way.

My problem is that I'm using the "repair" animation found in the Unified Animations pack, but I can't get the guy to get under the vehicle. With some trigonometry I managed to get the guy to move infront of the vehicles nomatter where he or the vehicle are.

Can someone please help?  ::)

Unified Animations pack: http://www.ofpbase.com/modules.php?name=News&file=article&sid=1268 (http://www.ofpbase.com/modules.php?name=News&file=article&sid=1268)
 
Title: Re:Car mechanic script
Post by: Blanco on 27 May 2004, 20:01:42
yeah, I recogniseyour problem.

Maybe setpossing the mecanic first and then the car on top could help, ...but i don't think...

I tried the same thing when I updated my repairscript (http://www.ofpec.com/yabbse/index.php?board=27;action=display;threadid=14957) with the unified animpack