OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: cannonfoda on 14 Apr 2003, 12:18:06
-
hey guys
is it possible to attach a satchel charge to an object such as a vehicle? if it is how can i do it?
thx
-
There are carbomb scripts in the Ed Depot, they might help.
-
Hello cannonfoda
This is in theory because I'm not at home and can't test it
_bomb = "pipebomb" camcreate getpos car
#loop
?!(alive car): exit
_bomb setpos getpos car
~0.2
goto "loop"
or if we were to make it a bit more fancy
_bomb = "pipebomb" camcreate getpos car
#loop
@speed car > 1
?!(alive car): exit
_bomb setpos getpos car
~0.05
goto "loop"
-
thx i'll give them a go