Home   Help Search Login Register  

Author Topic: [SOLVED] Creating exploding grenades  (Read 1921 times)

0 Members and 1 Guest are viewing this topic.

Offline Ext3rmin4tor

  • Members
  • *
[SOLVED] Creating exploding grenades
« on: 20 Apr 2011, 18:14:18 »
In ArmA 1 I used to spawn ammo classname-based object with grenades ammo classnames to create a minefield, like this

Code: [Select]
"GrenadeHand" createVehicle(getPos _mine)

In this way I could spawn a grenade explosion at the designated location.

The problem with ArmA 2 is that the game engine spawns not an explosion but the model of the handgrenade, in fact I can see a grenade on the ground. Does anybody know how to create a similar effect in ArmA 2? Is there another command to be used?

EDIT:

Solved. It looks like Arma 2, unlike its predecessor ArmA 1, distinguishes between ammo grenades classname and damage grenade classname, so you need to use the classname "Grenade" instead of the ammo classname "GrenadeHand" to make it explode.
« Last Edit: 20 Apr 2011, 18:33:02 by Ext3rmin4tor »
How can you shoot women and children?
Easy! Ya' just don't lead'em so much! Ain't war hell?!!