OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Ding on 19 Mar 2007, 07:59:34

Title: CamCreate explosion
Post 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?

Title: Re: CamCreate explosion
Post by: h- on 19 Mar 2007, 08:12:33
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..
Title: Re: CamCreate explosion
Post by: LeeHunt on 19 Mar 2007, 17:05:40
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
Title: Re: CamCreate explosion
Post by: Ding on 19 Mar 2007, 18:52:33
thanks :)