diff --git a/MPMissions/Exile.Altis/debug/blckClient.sqf b/MPMissions/Exile.Altis/debug/blckClient.sqf index ae21b8a..748fc45 100644 --- a/MPMissions/Exile.Altis/debug/blckClient.sqf +++ b/MPMissions/Exile.Altis/debug/blckClient.sqf @@ -10,7 +10,7 @@ if (hasInterface) then blck_MarkerPeristTime = 300; blck_useHint = true; blck_useSystemChat = true; - blck_useTitleText = false; + blck_useTitleText = true; blck_useDynamic = false; blck_aiKilluseSystemChat = true; blck_aiKilluseDynamic = false; @@ -43,7 +43,6 @@ if (hasInterface) then params["_event","_message","_mission"]; if (blck_useSystemChat) then {systemChat format["%1",_message];}; - if (blck_useTitleText) then {titleText [_message, "PLAIN DOWN",5];uiSleep 5; titleText ["", "PLAIN DOWN",5]}; if (blck_useHint) then { hint parseText format[ "%1
@@ -56,6 +55,12 @@ if (hasInterface) then if (blck_useDynamic) then { [_mission,_message] call fn_dynamicNotification; }; + if (blck_useTitleText) then { + [_message] spawn { + params["_msg"]; + titleText [_msg, "PLAIN DOWN",5];uiSleep 5; titleText ["", "PLAIN DOWN",5] + }; + }; //diag_log format["_fn_missionNotification ====] Paremeters _event %1 _message %2 _mission %3",_event,_message,_mission]; }; diff --git a/MPMissions/epoch.Altis/debug/blckClient.sqf b/MPMissions/epoch.Altis/debug/blckClient.sqf index ae21b8a..748fc45 100644 --- a/MPMissions/epoch.Altis/debug/blckClient.sqf +++ b/MPMissions/epoch.Altis/debug/blckClient.sqf @@ -10,7 +10,7 @@ if (hasInterface) then blck_MarkerPeristTime = 300; blck_useHint = true; blck_useSystemChat = true; - blck_useTitleText = false; + blck_useTitleText = true; blck_useDynamic = false; blck_aiKilluseSystemChat = true; blck_aiKilluseDynamic = false; @@ -43,7 +43,6 @@ if (hasInterface) then params["_event","_message","_mission"]; if (blck_useSystemChat) then {systemChat format["%1",_message];}; - if (blck_useTitleText) then {titleText [_message, "PLAIN DOWN",5];uiSleep 5; titleText ["", "PLAIN DOWN",5]}; if (blck_useHint) then { hint parseText format[ "%1
@@ -56,6 +55,12 @@ if (hasInterface) then if (blck_useDynamic) then { [_mission,_message] call fn_dynamicNotification; }; + if (blck_useTitleText) then { + [_message] spawn { + params["_msg"]; + titleText [_msg, "PLAIN DOWN",5];uiSleep 5; titleText ["", "PLAIN DOWN",5] + }; + }; //diag_log format["_fn_missionNotification ====] Paremeters _event %1 _message %2 _mission %3",_event,_message,_mission]; }; diff --git a/changeLog.sqf b/changeLog.sqf index 5946e1f..6f0e81b 100644 --- a/changeLog.sqf +++ b/changeLog.sqf @@ -4,8 +4,13 @@ Loosely based on the AI mission system by blckeagls ver 2.0.2 Contributions by Narines: bug fixes, testing, 'fired' event handler Ideas or code from that by Vampire and KiloSwiss have been used for certain functions. -10/22/16 Version 6.2 Build 8-14-16 -bug fixes +10/25/16 Version 6.4 Build 8 +Reworked the code to spawn vehicle patrols and static weapons and clean them up. +Reworked the code that messages players to be sure that calling titleText does not hang the messaging function and delay hints or system chat notifications. + +10/22/16 v 6.3 Build 8-14-16 +Moved routines that delete dead AI, Alive AI and mission objects from individual loops to a single loop spawned by blck_init.sqf. +Added functions to cache these data with time stamps for later time-based deletion. 10/21/16 Version 6.2 Build 7 Redid system for markers which are now defined in the mission template reducing dependence on client side configurations for each mission or marker type.