ACE3/addons/advanced_throwing/CfgAmmo.hpp
PabstMirror d1ba153ae8
AdvThrow - Fix toqrue script error for IR strobes (#5842)
Close #5835
- Add config to GrenadeCore (IRStrobeBase: GrenadeCore)
- Verify array is valid 3d vector in throw.sqf
2017-12-02 12:23:34 -06:00

12 lines
356 B
C++

class CfgAmmo {
class Default;
class Grenade: Default {
GVAR(torqueDirection)[] = {1, 1, 0};
GVAR(torqueMagnitude) = "(50 + random 100) * selectRandom [1, -1]";
};
class GrenadeCore: Default {
GVAR(torqueDirection)[] = {1, 1, 0};
GVAR(torqueMagnitude) = "(50 + random 100) * selectRandom [1, -1]";
};
};