mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Animate preplaced bottom attack SLAMs
This commit is contained in:
parent
248eb2143b
commit
cfea80bec8
@ -52,15 +52,15 @@ class CfgAmmo {
|
||||
};
|
||||
class ACE_SLAMDirectionalMine_Timer_Ammo: SLAMDirectionalMine_Wire_Ammo {
|
||||
mineTrigger = "TimeTrigger";
|
||||
};
|
||||
class ACE_SLAMDirectionalMine_Magnetic_Ammo: SLAMDirectionalMine_Wire_Ammo {
|
||||
mineTrigger = "ACE_MagneticTrigger";
|
||||
GVAR(explodeOnDefuseChance) = 0;
|
||||
explosionAngle = 360;
|
||||
indirectHitRange = 1;
|
||||
mineInconspicuousness = 25;
|
||||
icon = "iconExplosiveGP";
|
||||
};
|
||||
class ACE_SLAMDirectionalMine_Magnetic_Ammo: SLAMDirectionalMine_Wire_Ammo {
|
||||
mineTrigger = "ACE_MagneticTrigger";
|
||||
};
|
||||
|
||||
class PipeBombBase;
|
||||
class DemoCharge_Remote_Ammo: PipeBombBase {
|
||||
|
@ -36,6 +36,14 @@ GVAR(Setup) = objNull;
|
||||
GVAR(pfeh_running) = false;
|
||||
GVAR(CurrentSpeedDial) = 0;
|
||||
|
||||
// Properly angle preplaced bottom-attack SLAMs
|
||||
{
|
||||
switch (typeOf _x) do {
|
||||
case ("ACE_SLAMDirectionalMine_Magnetic_Ammo"): {
|
||||
[_x, getDir _x, 90] call FUNC(setPosition);
|
||||
};
|
||||
};
|
||||
} forEach allMines;
|
||||
|
||||
["interactMenuOpened", {
|
||||
//Cancel placement if interact menu opened
|
||||
|
Loading…
Reference in New Issue
Block a user