mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
re-revert change SERVER_VARS > EPOCH_playerMissionArray
This commit is contained in:
parent
fa2185a27d
commit
95e8b6a2d4
@ -285,7 +285,7 @@ class FSM
|
|||||||
"_plyrVar deleteAt _taskIndex;" \n
|
"_plyrVar deleteAt _taskIndex;" \n
|
||||||
"};" \n
|
"};" \n
|
||||||
"_plyrVar pushBack [""axeTask"",_taskName];" \n
|
"_plyrVar pushBack [""axeTask"",_taskName];" \n
|
||||||
"missionNamespace setVariable [""SERVER_VARS"",_plyrVar];" \n
|
"missionNamespace setVariable [""EPOCH_playerMissionArray"",_plyrVar];" \n
|
||||||
"" \n
|
"" \n
|
||||||
"missionNameSpace setVariable [""axeTask"",_taskName];" \n
|
"missionNameSpace setVariable [""axeTask"",_taskName];" \n
|
||||||
"" \n
|
"" \n
|
||||||
@ -496,12 +496,12 @@ class FSM
|
|||||||
itemno = 6;
|
itemno = 6;
|
||||||
init = /*%FSM<STATEINIT""">*/"//uiNameSpace setVariable [""axeTask"",nil];" \n
|
init = /*%FSM<STATEINIT""">*/"//uiNameSpace setVariable [""axeTask"",nil];" \n
|
||||||
"if!(_doBin)then{" \n
|
"if!(_doBin)then{" \n
|
||||||
"_plyrVar = missionNamespace getVariable [""SERVER_VARS"",[]];" \n
|
"_plyrVar = missionNamespace getVariable [""EPOCH_playerMissionArray"",[]];" \n
|
||||||
"_taskIndex = ((_plyrVar apply {_x find ""axeTask"" > -1;}) find true);" \n
|
"_taskIndex = ((_plyrVar apply {_x find ""axeTask"" > -1;}) find true);" \n
|
||||||
"if(_taskIndex > -1)then{" \n
|
"if(_taskIndex > -1)then{" \n
|
||||||
"_plyrVar deleteAt _taskIndex;" \n
|
"_plyrVar deleteAt _taskIndex;" \n
|
||||||
"};" \n
|
"};" \n
|
||||||
"missionNamespace setVariable [""SERVER_VARS"",_plyrVar];" \n
|
"missionNamespace setVariable [""EPOCH_playerMissionArray"",_plyrVar];" \n
|
||||||
"};" \n
|
"};" \n
|
||||||
"if(count _missionCleanUp > 0)then{" \n
|
"if(count _missionCleanUp > 0)then{" \n
|
||||||
"{" \n
|
"{" \n
|
||||||
|
Loading…
Reference in New Issue
Block a user