OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: cirkut5732 on 24 Mar 2005, 02:40:36
-
Hey Guys, I'm wondering if you can mount a satchel in or on a jeep, doesnt matter wich as long as its on the jeep, and question 2 can you make a loon driving set off a charge without exiting the vehicle, Basically Im trying to make a "suicide jeep bomber" Drive as fast as he can into a area and blow up" Any suggestions
Thanks
-
When he reaches a certain point or his jeep reaches a certain dammage, add a little bit of code:
jeepbomb = "LaserGuidedBomb" camcreate (getpos killerjeep)
And a laserguided bomb will go off sort of under the jeep. And you can change the explosive to whatever you want. ;)
-
jeepbomb = "laserguidedbomb" camcreate (getpos killerjeep)
Should I put this line in a trigger? Is that what your telling me, Im still kinda new! Thanks for the reply
-
if the jeeps following a waypoint put it in the activation of the waypoint
if not
set up a trigger
condition : killerjeep distance someunit < 10
activation : jeepbomb = "laserguidedbomb" camcreate (getpos killerjeep)