This commit is contained in:
commy2 2015-04-18 01:05:30 +02:00
parent 25d8c6c93e
commit 3ec5acbdb0
2 changed files with 10 additions and 2 deletions

View File

@ -152,3 +152,11 @@ class CfgUIGrids {
};
};
};
/*
// check dll
class RscStandardDisplay;
class RscDisplayMain: RscStandardDisplay {
onLoad = QUOTE([ARR_4(""onLoad"",_this,""RscDisplayMain"",'GUI')] call (uinamespace getvariable 'BIS_fnc_initDisplay'); [ARR_5('header','tail',{0},{},_this select 0)] call COMPILE_FILE(functions\fnc_errorMessage));
};
*/

View File

@ -3,7 +3,7 @@
* Stops simulation and opens a textbox with error message.
*
* Arguments:
* 0: Error name <STRING>
* ?
*
* Return Value:
* None
@ -26,7 +26,7 @@ if (typeName _textMessage == "STRING") then {
_textMessage = parseText _textMessage;
};
(call BIS_fnc_displayMission) createDisplay "RscDisplayCommonMessagePause";
(ARR_SELECT(_this,4,call BIS_fnc_displayMission)) createDisplay "RscDisplayCommonMessagePause";
private ["_display", "_ctrlRscMessageBox", "_ctrlBcgCommonTop", "_ctrlBcgCommon", "_ctrlText", "_ctrlBackgroundButtonOK", "_ctrlBackgroundButtonMiddle", "_ctrlBackgroundButtonCancel", "_ctrlButtonOK", "_ctrlButtonCancel"];