Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //HUD groups (ie topRight) are defined, populated, scaled and positioned in CfgDynamicHUD.hpp in MPMissions
- //because IDCs are dynamically given (From pool of free IDCs by epoch_getIDC function), please do not
- //attempt to find IDCs programatically via custom scripts, it won't work well.
- //instead use function you see below by giving it HUD Group's name and index of element you want.
- //Please be aware, 0 index is NOT used, counting starts with 1.
- //0 index is a string - name of the group!
- for "_i" from 1 to 8 do {
- _c = (["topRight",_i] call epoch_getHUDCtrl);
- _c ctrlSetText "x\addons\a3_epoch_code\Data\UI\buttons\player_inspect.paa";
- };
- for "_i" from 1 to 9 do {
- _c = (["botcenter",_i] call epoch_getHUDCtrl);
- _c ctrlSetText "x\addons\a3_epoch_code\Data\UI\buttons\krypto.paa";
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement