mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
use precompiled function for vector display
This commit is contained in:
parent
da0d37ed0d
commit
2b9518bf81
@ -11,8 +11,8 @@ class RscControlsGroup {
|
|||||||
class RscInGameUI {
|
class RscInGameUI {
|
||||||
class RscUnitInfo;
|
class RscUnitInfo;
|
||||||
class ACE_RscOptics_vector: RscUnitInfo {
|
class ACE_RscOptics_vector: RscUnitInfo {
|
||||||
onLoad = "[""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf""; uiNamespace setVariable ['ACE_dlgVector', _this select 0];";
|
onLoad = "[""onLoad"",_this,""RscUnitInfo"",'IGUI'] call (uinamespace getvariable 'BIS_fnc_initDisplay'); uiNamespace setVariable ['ACE_dlgVector', _this select 0];";
|
||||||
onUnload = "[""onUnload"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf""";
|
onUnload = "[""onUnload"",_this,""RscUnitInfo"",'IGUI'] call (uinamespace getvariable 'BIS_fnc_initDisplay')";
|
||||||
idd = 300;
|
idd = 300;
|
||||||
controls[] = {"CA_Distance","CA_Heading","CA_OpticsPitch","CA_Elev","CA_OpticsZoom","CA_VisionMode","ACE_ScriptedDisplayControlsGroup"};
|
controls[] = {"CA_Distance","CA_Heading","CA_OpticsPitch","CA_Elev","CA_OpticsZoom","CA_VisionMode","ACE_ScriptedDisplayControlsGroup"};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user