OFPEC Forum
Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: Coyote on 04 Nov 2010, 23:57:05
-
Looking to do an enhanced explosion / car bomb. What's Arma's bomb= "powerfulbomb" camcreate (getpos unit)?
-
If you're out for the most powerful one try this:
"Bo_FAB_250" createVehicle getPos unit;
-
I'm getting "Type Object, expected nothing".
-
You put it in some "Initialization:" field, right? Try this:
0 = "Bo_FAB_250" createVehicle getPos unit;
Or - if you're a mathematician and refuse to assign just anything to a number - this:
private "_bomb"; _bomb = "Bo_FAB_250" createVehicle getPos unit;
-
Ok. Got that working. Are there some more bomb names? That one is a lot of fun. but I think it flug me to the other side of the map. Hahaha.
-
Heh, don't say I didn't warn you! :D
Take a look at the third column in this list (http://community.bistudio.com/wiki/ArmA_2:_Weapons#Vehicle_.26_Static_Weapons). I assume you're "gun nut" enough to have an rough idea of the damage the ammo causes. In case you want numeric values (like hit, indirectHit, indirectHitRange, etc.) I'd suggest you create a dump of your A2 config (http://www.ofpec.com/forum/index.php?topic=35236.0) and look them up.