Update blckClient.sqf
Removed unnecessary code. Small changes to the loop with the hope that it is more efficient.
This commit is contained in:
parent
125d44548b
commit
f8a2b89a58
@ -1,6 +1,6 @@
|
|||||||
////////////////////////////////////////////
|
////////////////////////////////////////////
|
||||||
// Start Server-side functions and Create, Display Mission Messages for blckeagls mission system for Arma 3 Epoch
|
// Start Server-side functions and Create, Display Mission Messages for blckeagls mission system for Arma 3 Epoch
|
||||||
// Last Updated 1/4/17
|
// Last Updated 1/12/17
|
||||||
// by Ghostrider-DbD-
|
// by Ghostrider-DbD-
|
||||||
//////////////////////////////////////////
|
//////////////////////////////////////////
|
||||||
|
|
||||||
@ -162,29 +162,18 @@ if (isServer || (!hasInterface)) exitWith {};
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
//diag_log "[blckeagls] spawning JIP markers";
|
diag_log "blck client loaded ver 1/11/17 2.0 8 PM";
|
||||||
if (!isNil "blck_OrangeMarker") then {[blck_OrangeMarker] execVM "debug\spawnMarker.sqf"};
|
diag_log "[blckeagls] starting client loop";
|
||||||
if (!isNil "blck_GreenMarker") then {[blck_GreenMarker] execVM "debug\spawnMarker.sqf"};
|
|
||||||
if (!isNil "blck_RedMarker") then {[blck_RedMarker] execVM "debug\spawnMarker.sqf"};
|
|
||||||
if (!isNil "blck_BlueMarker") then {[blck_BlueMarker] execVM "debug\spawnMarker.sqf"};
|
|
||||||
|
|
||||||
diag_log "blck client loaded ver 1/4/17 9 PM";
|
|
||||||
//diag_log "[blckeagls] starting client loop";
|
|
||||||
private["_start"];
|
|
||||||
_start = diag_tickTime;
|
|
||||||
while {true} do
|
while {true} do
|
||||||
{
|
{
|
||||||
if !(blck_Message isEqualTo "") then
|
waitUntil {!(blck_message isEqualTo "")};
|
||||||
{
|
//diag_log format["[blckClient] blck_Message = %1", blck_message];
|
||||||
diag_log format["[blckClient] blck_Message = %1", blck_message];
|
|
||||||
private["_message"];
|
private["_message"];
|
||||||
_message = blck_message;
|
_message = blck_message;
|
||||||
_message spawn fn_handleMessage;
|
_message spawn fn_handleMessage;
|
||||||
blck_Message = "";
|
blck_Message = "";
|
||||||
} else
|
|
||||||
{
|
|
||||||
uiSleep 0.3;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user