OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Jaenak on 25 Feb 2004, 21:33:04

Title: Truck Not Recognized
Post by: Jaenak on 25 Feb 2004, 21:33:04
Is it possible to cause an FIA 5 ton truck to be impossible for the russians to identify as an enemy vehicle?  I want one in a mission I'm making but the choppers patroling 2 miles away keep straying from their waypoints to kill the truck every time I use it.
Title: Re:Truck Not Recognized
Post by: Wadmann on 25 Feb 2004, 21:51:40
You can make "setcaptive" equal true to make the East think it has been "captured" and if it needs to be destroyed later just set "setcaptive" to false. Check the ComRef for syntax for proper use.





                                                                         Wadmann


Title: Re:Truck Not Recognized
Post by: macguba on 25 Feb 2004, 23:45:08
Or just make Resistance friendly to the Russians.
Title: Re:Truck Not Recognized
Post by: Chris Death on 26 Feb 2004, 10:51:47
I remember having used setcaptive for a vehicle in one of
my missions and it works.

Best you could do is:

vehicle name_of_the_driver setCaptive true

This would make the truck look friendly to east, but not the
driver himself. Once the driver leaves the truck, east would
start firing onto him.

~S~ CD