20 string cfg =
"CfgVehicles BarbedWire barbedWireShockEnergyConsumption";
32 player.MessageImportant(
"*SCRATCH and ELECTROCUTION*");
44 player.MessageImportant(
"*SCRATCH*");
DEPRECATED UNUSED prototype for damage by BarbedWire, do not use as example.
ItemBase m_ParentBarbedWire
static const int SOUNDS_SHOCK_COUNT
void SetParentObject(ItemBase wire)
void SoundElectricShock()
static const string m_SoundsShock[SOUNDS_SHOCK_COUNT]
static const int SOUNDS_COLLISION_COUNT
static const string m_SoundsCollision[SOUNDS_COLLISION_COUNT]
override void OnEnter(Object obj)
proto native CGame GetGame()
static proto int RandomInt(int min, int max)
Returns a random int number between and min [inclusive] and max [exclusive].