ACE3/addons/advanced_throwing/CfgAmmo.hpp
jonpas 7183a765f5 Add Advanced Throwing torque (rotation) (#5621)
* Add throwable rotation

* torque grenade config

* Cleanup

* Do vectorNormalized on direction only
2017-10-15 20:06:18 +02:00

8 lines
195 B
C++

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