mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
911 B
911 B
layout | title | description | group | order | parent | mod | version | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
wiki | HuntIR Framework | Explains how to add HuntIR support to a weapon. | framework | 5 | wiki | ace |
|
1. Config Values
class CfgWeapons {
class MyRifle {
class MyGL: UGL_F {
magazines[] = {
// All default UGL magazines
"MyFirstMag",
"MySecondMag",
"MyLastMag",
// HuntIR magazine
"ACE_HuntIR_M203"
};
};
};
};
2. Player Animation
Player animation when entering the HuntIR Monitor can be disabled by setting ace_huntir_animatePlayer
to false
.
// Disable player animation locally
missionNamespace setVariable ["ace_huntir_animatePlayer", false];
// Disable player animation for everyone
missionNamespace setVariable ["ace_huntir_animatePlayer", false, true];