From 08c674cbd2f742201e9f6f7a3e813a607a4998ef Mon Sep 17 00:00:00 2001 From: vbawol Date: Fri, 17 Jun 2016 17:07:54 -0500 Subject: [PATCH] revert changes to task fsm save var --- Sources/epoch_code/System/task_control.fsm | 8 ++++---- Sources/mpmissions/epoch.Altis/treeView.txt | Bin 23546 -> 23600 bytes .../mpmissions/epoch.Australia/treeView.txt | Bin 23554 -> 23608 bytes .../epoch.Bootcamp_ACR/treeView.txt | Bin 23560 -> 23614 bytes .../mpmissions/epoch.Bornholm/treeView.txt | Bin 23552 -> 23606 bytes .../mpmissions/epoch.Chernarus/treeView.txt | Bin 23554 -> 23608 bytes .../epoch.Chernarus_Summer/treeView.txt | Bin 23568 -> 23622 bytes .../mpmissions/epoch.Desert_E/treeView.txt | Bin 23552 -> 23606 bytes 8 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/epoch_code/System/task_control.fsm b/Sources/epoch_code/System/task_control.fsm index f23aa88b..78b11ec5 100644 --- a/Sources/epoch_code/System/task_control.fsm +++ b/Sources/epoch_code/System/task_control.fsm @@ -279,13 +279,13 @@ class FSM "" \n "//Mission Control - WIP. TODO: Move to serverside mission control UINamespace not secure." \n "//uiNameSpace setVariable [""axeTask"",_taskName];" \n - "_plyrVar = player getVariable [""SERVER_VARS"",[]];" \n + "_plyrVar = missionNamespace getVariable [""EPOCH_playerMissionArray"",[]];" \n "_taskIndex = ((_plyrVar apply {_x find ""axeTask"" > -1;}) find true);" \n "if(_taskIndex > -1)then{" \n "_plyrVar deleteAt _taskIndex;" \n "};" \n "_plyrVar pushBack [""axeTask"",_taskName];" \n - "player setVariable [""SERVER_VARS"",_plyrVar,true];" \n + "missionNamespace setVariable [""EPOCH_playerMissionArray"",_plyrVar];" \n "" \n "missionNameSpace setVariable [""axeTask"",_taskName];" \n "" \n @@ -496,12 +496,12 @@ class FSM itemno = 6; init = /*%FSM*/"//uiNameSpace setVariable [""axeTask"",nil];" \n "if!(_doBin)then{" \n - "_plyrVar = player getVariable [""SERVER_VARS"",[]];" \n + "_plyrVar = missionNamespace getVariable [""EPOCH_playerMissionArray"",[]];" \n "_taskIndex = ((_plyrVar apply {_x find ""axeTask"" > -1;}) find true);" \n "if(_taskIndex > -1)then{" \n "_plyrVar deleteAt _taskIndex;" \n "};" \n - "player setVariable [""SERVER_VARS"",_plyrVar,true];" \n + "missionNamespace setVariable [""EPOCH_playerMissionArray"",_plyrVar];" \n "};" \n "if(count _missionCleanUp > 0)then{" \n "{" \n diff --git a/Sources/mpmissions/epoch.Altis/treeView.txt b/Sources/mpmissions/epoch.Altis/treeView.txt index 12f95481aa4f0a544038111d5b68b50887b02ff3..20610c58da168628cbd2c6def5e23bf78d565c00 100644 GIT binary patch delta 28 kcmeyhopHks#tqvdI71i`8S)tN84@Q4hUsqJ7U9AS0Hpc~MF0Q* delta 14 Wcmdn6gYnmP#tqvdHou8*VFmy?O9vPL diff --git a/Sources/mpmissions/epoch.Australia/treeView.txt b/Sources/mpmissions/epoch.Australia/treeView.txt index 733b46418b60cdb2b3da86e8c7be4030559a4ed3..d686e796e741ee33adaafca1a6dab53802509fe4 100644 GIT binary patch delta 24 gcmZqL!MI}w>&(^40#OslNH1CHy?>`VFmz+xe09m delta 14 WcmdnDgRx@=PFarQK%?8l` diff --git a/Sources/mpmissions/epoch.Bornholm/treeView.txt b/Sources/mpmissions/epoch.Bornholm/treeView.txt index 6011b39e897be2222339e4cb2111e4b6919168c0..dc495830599dc473b6a2a9295d8e931bab3e6ba1 100644 GIT binary patch delta 28 kcmZqJ!MJS)C0G8qjod5s; delta 14 WcmdnCgRx-;3G diff --git a/Sources/mpmissions/epoch.Chernarus/treeView.txt b/Sources/mpmissions/epoch.Chernarus/treeView.txt index 4e4f211363cb53d7ef53107c1727ec419acce688..28d4005e99190b5e7cb815ee5c97174f329b1af1 100644 GIT binary patch delta 24 gcmZqL!MI}wC0G8qjod5s; delta 14 WcmdnCgRx-;3G