From f393828fc70c967209cfceae2cd901c6e62c36e5 Mon Sep 17 00:00:00 2001 From: PiG13BR Date: Mon, 26 Aug 2024 12:31:51 -0300 Subject: [PATCH 1/3] Update fn_tutorial.fsm --- Missionframework/scripts/client/tutorial/fn_tutorial.fsm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Missionframework/scripts/client/tutorial/fn_tutorial.fsm b/Missionframework/scripts/client/tutorial/fn_tutorial.fsm index ba8f8adaf..dad492e4c 100644 --- a/Missionframework/scripts/client/tutorial/fn_tutorial.fsm +++ b/Missionframework/scripts/client/tutorial/fn_tutorial.fsm @@ -491,7 +491,7 @@ class FSM priority = 1.000000; to="Slingload_crate"; precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"!KP_liberation_fob_vehicle"/*%FSM*/; + condition=/*%FSM*/"!KPLIB_param_fobVehicle"/*%FSM*/; action=/*%FSM*/""/*%FSM*/; }; /*%FSM*/ @@ -502,7 +502,7 @@ class FSM priority = 0.000000; to="Drive_the_truck"; precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"KP_liberation_fob_vehicle"/*%FSM*/; + condition=/*%FSM*/"KPLIB_param_fobVehicle"/*%FSM*/; action=/*%FSM*/""/*%FSM*/; }; /*%FSM*/ From 050906e86eea18376a58d0b605ac7e19b988bff8 Mon Sep 17 00:00:00 2001 From: PiG13BR Date: Mon, 26 Aug 2024 19:45:46 -0300 Subject: [PATCH 2/3] Update fn_tutorial.fsm --- Missionframework/scripts/client/tutorial/fn_tutorial.fsm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Missionframework/scripts/client/tutorial/fn_tutorial.fsm b/Missionframework/scripts/client/tutorial/fn_tutorial.fsm index dad492e4c..29292f36d 100644 --- a/Missionframework/scripts/client/tutorial/fn_tutorial.fsm +++ b/Missionframework/scripts/client/tutorial/fn_tutorial.fsm @@ -642,7 +642,7 @@ class FSM precondition = /*%FSM*/""/*%FSM*/; condition=/*%FSM*/"!(" \n " (((KPLIB_sectors_fob select 0) nearObjects KPLIB_range_fob) select {" \n - " (_x getVariable [""KP_liberation_storage_type"", -1]) == 0" \n + " (_x getVariable [""KPLIB_storage_type"", -1]) == 0" \n " }) isEqualTo []" \n ")"/*%FSM*/; action=/*%FSM*/""/*%FSM*/; @@ -918,7 +918,7 @@ class FSM precondition = /*%FSM*/""/*%FSM*/; condition=/*%FSM*/"!(" \n " (((markerPos _factory) nearObjects KPLIB_range_fob) select {" \n - " (_x getVariable [""KP_liberation_storage_type"", -1]) == 1" \n + " (_x getVariable [""KPLIB_storage_type"", -1]) == 1" \n " }) isEqualTo []" \n ")"/*%FSM*/; action=/*%FSM*/""/*%FSM*/; @@ -956,7 +956,7 @@ class FSM priority = 0.000000; to="Complete_tasks_1"; precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"(((KP_liberation_production select {(_x select 1) isEqualTo _factory}) select 0) select 7) < 3"/*%FSM*/; + condition=/*%FSM*/"(((KPLIB_production select {(_x select 1) isEqualTo _factory}) select 0) select 7) < 3"/*%FSM*/; action=/*%FSM*/""/*%FSM*/; }; /*%FSM*/ From 4079f0cf7e189a34dedd5c7912c83a59395c40fe Mon Sep 17 00:00:00 2001 From: PiG13BR Date: Mon, 26 Aug 2024 20:11:45 -0300 Subject: [PATCH 3/3] Update open_arsenal.sqf --- Missionframework/scripts/client/actions/open_arsenal.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Missionframework/scripts/client/actions/open_arsenal.sqf b/Missionframework/scripts/client/actions/open_arsenal.sqf index afd3af105..31108de99 100644 --- a/Missionframework/scripts/client/actions/open_arsenal.sqf +++ b/Missionframework/scripts/client/actions/open_arsenal.sqf @@ -1,7 +1,7 @@ scriptName "open_arsenal"; if (KPLIB_param_directArsenal) exitWith { - if (KP_liberation_ace && KP_liberation_arsenal_type) then { + if (KPLIB_ace && KPLIB_param_arsenalType) then { [player, player, false] call ace_arsenal_fnc_openBox; } else { ["Open", false] spawn BIS_fnc_arsenal;