Welcome, Guest Monday 21st April 2014, 05:34:12
   Home   Help Search Login Register  

OFPEC Forum

Author Topic: another quick and easy (camcreates)  (Read 274 times)
0 Members and 1 Guest are viewing this topic.
Coyote
*
Offline Offline


« on: 04 Nov 2010, 23:57:05 »

Looking to do an enhanced explosion / car bomb. What's Arma's bomb= "powerfulbomb" camcreate (getpos unit)?
Logged
Worldeater
Editors Depot
Administrator
*****
Offline Offline


Suum cuique


« Reply #1 on: 05 Nov 2010, 01:59:24 »

If you're out for the most powerful one try this:
Code:
"Bo_FAB_250" createVehicle getPos unit;
Logged

try { return true; } finally { return false; }
Coyote
*
Offline Offline


« Reply #2 on: 05 Nov 2010, 10:37:13 »

I'm getting "Type Object, expected nothing".
Logged
Worldeater
Editors Depot
Administrator
*****
Offline Offline


Suum cuique


« Reply #3 on: 05 Nov 2010, 10:53:48 »

You put it in some "Initialization:" field, right? Try this:
Code:
0 = "Bo_FAB_250" createVehicle getPos unit;

Or - if you're a mathematician and refuse to assign just anything to a number - this:
Code:
private "_bomb"; _bomb = "Bo_FAB_250" createVehicle getPos unit;
Logged

try { return true; } finally { return false; }
Coyote
*
Offline Offline


« Reply #4 on: 05 Nov 2010, 12:01:55 »

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.
Logged
Worldeater
Editors Depot
Administrator
*****
Offline Offline


Suum cuique


« Reply #5 on: 05 Nov 2010, 13:25:01 »

Heh, don't say I didn't warn you! Cheesy

Take a look at the third column in this list. 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 and look them up.
Logged

try { return true; } finally { return false; }
Pages: [1]   Go Up
  Send this topicPrint  
 
Jump to: