OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Ding on 19 Mar 2007, 07:59:34
-
in OFP in order to create an explosion I would use the command :
flare = "GrenadeHand" camcreate (Getpos Obj)
but this command seems to leave me with no result in Armed assault, can anyone help me out with this one? is there some new way you have to do this?
-
I think camCreate does not work in ArmA like it worked in OFP :dunno:
Use createVehicle (http://www.ofpec.com/COMREF/index.php?action=list&game=All&letter=c#createVehicle) or createVehicleLocal (http://www.ofpec.com/COMREF/index.php?action=list&game=All&letter=c#createVehicleLocal) instead..
-
Here is a great way to create an explosion:
So you put an object on the map, i put a roadcone labeled "cone1." This is the activation line:
BOMB1 = "Bo_GBU12_LGB" createVehicle getpos cone1
-
thanks :)