ACE3/docs/wiki/framework/huntIR-framework.md

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
major minor patch
3 1 0

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];