Advertisement

Author Topic: another quick and easy (camcreates)  (Read 323 times)

0 Members and 1 Guest are viewing this topic.

Offline Coyote

  • Members
  • *
another quick and easy (camcreates)
« on: 04 Nov 2010, 23:57:05 »
Looking to do an enhanced explosion / car bomb. What's Arma's bomb= "powerfulbomb" camcreate (getpos unit)?

Offline Worldeater

  • Former Staff
  • ****
  • Suum cuique
Re: another quick and easy (camcreates)
« Reply #1 on: 05 Nov 2010, 01:59:24 »
If you're out for the most powerful one try this:
Code: [Select]
"Bo_FAB_250" createVehicle getPos unit;
try { return true; } finally { return false; }

Offline Coyote

  • Members
  • *
Re: another quick and easy (camcreates)
« Reply #2 on: 05 Nov 2010, 10:37:13 »
I'm getting "Type Object, expected nothing".

Offline Worldeater

  • Former Staff
  • ****
  • Suum cuique
Re: another quick and easy (camcreates)
« Reply #3 on: 05 Nov 2010, 10:53:48 »
You put it in some "Initialization:" field, right? Try this:
Code: [Select]
0 = "Bo_FAB_250" createVehicle getPos unit;
Or - if you're a mathematician and refuse to assign just anything to a number - this:
Code: [Select]
private "_bomb"; _bomb = "Bo_FAB_250" createVehicle getPos unit;
try { return true; } finally { return false; }

Offline Coyote

  • Members
  • *
Re: another quick and easy (camcreates)
« 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.

Offline Worldeater

  • Former Staff
  • ****
  • Suum cuique
Re: another quick and easy (camcreates)
« Reply #5 on: 05 Nov 2010, 13:25:01 »
Heh, don't say I didn't warn you! :D

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.
try { return true; } finally { return false; }