mirror of
https://github.com/IT07/a3_vemf_reloaded.git
synced 2024-08-30 16:52:11 +00:00
New script
This commit is contained in:
parent
3a03bc0d49
commit
e23ea382fd
@ -0,0 +1,30 @@
|
||||
/*
|
||||
Author: IT07
|
||||
|
||||
Description:
|
||||
handles the things that need to be done when RscDisplayBaseAttack is active
|
||||
*/
|
||||
|
||||
_dsp = uiNamespace getVariable [ "RscDisplayBaseAttack", displayNull ];
|
||||
if not ( isNull _dsp ) then
|
||||
{
|
||||
_dsp setVariable [ "doFlash", true ];
|
||||
while { not ( isNull _dsp ) } do
|
||||
{
|
||||
if ( _dsp getVariable [ "doFlash", false ] ) then
|
||||
{
|
||||
_dsp setVariable [ "doingFlash", true ];
|
||||
uiSleep 1.5;
|
||||
{
|
||||
_x ctrlSetFade 1; _x ctrlCommit 0.25;
|
||||
uiSleep 0.25;
|
||||
} forEach ( allControls _dsp );
|
||||
uiSleep 0.5;
|
||||
{
|
||||
_x ctrlSetFade 0; _x ctrlCommit 0.25;
|
||||
uiSleep 0.25;
|
||||
} forEach ( allControls _dsp );
|
||||
_dsp setVariable [ "doingFlash", false ];
|
||||
} else { uiSleep 0.5 };
|
||||
};
|
||||
};
|
Loading…
Reference in New Issue
Block a user