NAVY MINES – DEPTH CHARGES
Builded for underwater nad sufrace fight, bombs and mines – possibile to deploy them from ships and planes or helis.
for deploy from ship use in init field or during respawn of vehicle script command for attach mine or bomb charge to it. example mission in additional
Depth charges are possibile to find in editor in empty objects in weapons class.
For set depth of explosion of charge use command:
_bomb setVariable [‘detonation’, -10,true]; //to set depth of explosion warhead for 10m.
_bomb setVariable [‘delay’, 10,true]; //to set delay of arm warhead for 10s.
_bomb setvariable ["armed",true,true]; //to activate possibility of explosion (arm/disarm warhead).
Bomb have secondary builded in automatic limiter and seting arm state after crosing 2m of deep, and explode on G-force, and on reach bottom if depth is set too small.
Mines are in the same class of objects in editor and have possibility of setting lenght of rope from anchor
so to set custom depth of lying mine before deploy mine use on it command:
_mine setvariable ["depth",50,true]; //to set lenght of mine’s anchor rope – from bottom to sufrace in this exmple 50m).
_mine setVariable [‘delay’, 30,true]; //to set delay of arm warhead for 30s.
_mine setvariable ["armed",true,true]; //to activate possibility of explosion (arm/disarm).