From 723c40b188a2f0062a84a2defba89f39c382b500 Mon Sep 17 00:00:00 2001 From: "Ghostrider [GRG]" Date: Fri, 3 Nov 2023 07:25:10 -0400 Subject: [PATCH] Should not have removed that spawnPara flag --- @GMS/addons/GMS/Compiles/Missions/fn_initializeMission.sqf | 2 +- .../GMS/Compiles/Missions/fn_monitorInitializedMissions.sqf | 1 + @GMS/addons/GMS/Compiles/Missions/fn_monitorSpawnedMissions.sqf | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/@GMS/addons/GMS/Compiles/Missions/fn_initializeMission.sqf b/@GMS/addons/GMS/Compiles/Missions/fn_initializeMission.sqf index 32227ce..266e627 100644 --- a/@GMS/addons/GMS/Compiles/Missions/fn_initializeMission.sqf +++ b/@GMS/addons/GMS/Compiles/Missions/fn_initializeMission.sqf @@ -233,7 +233,7 @@ try { ]; #define spawnPara -1 - GMS_initializedMissionsList pushBack [_key, missionTimeoutAt, triggered, _missionData, _missionConfigs, _isStatic,_missionFile]; + GMS_initializedMissionsList pushBack [_key, missionTimeoutAt, triggered, _missionData, _missionConfigs, spawnPara,_isStatic]; // Repair any damage done by prior activities. {_x setDamage 0} forEach ( nearestObjects [_coords, ["Building"], 500]); diff --git a/@GMS/addons/GMS/Compiles/Missions/fn_monitorInitializedMissions.sqf b/@GMS/addons/GMS/Compiles/Missions/fn_monitorInitializedMissions.sqf index 8fbb88c..9dcf665 100644 --- a/@GMS/addons/GMS/Compiles/Missions/fn_monitorInitializedMissions.sqf +++ b/@GMS/addons/GMS/Compiles/Missions/fn_monitorInitializedMissions.sqf @@ -34,6 +34,7 @@ for "_i" from 1 to (count _missionsList) do "_triggered", // 2 // integer - specifies if mission was triggered by a player or scripting such as debug setting "_missionData", // 4 // variable containing information specific to this instance of the mission such as location and objects "_missionConfigs", // 5 // Variables regarding the configuration of the mission + "_spawnPara", // 6 // Needed so you only spawn paratroops once. "_isStatic", // 7 // A flag as to whether the mission is a static or dynamically spawned mission. "_missionFile" ]; diff --git a/@GMS/addons/GMS/Compiles/Missions/fn_monitorSpawnedMissions.sqf b/@GMS/addons/GMS/Compiles/Missions/fn_monitorSpawnedMissions.sqf index 008c7e4..a37d827 100644 --- a/@GMS/addons/GMS/Compiles/Missions/fn_monitorSpawnedMissions.sqf +++ b/@GMS/addons/GMS/Compiles/Missions/fn_monitorSpawnedMissions.sqf @@ -30,6 +30,7 @@ for "_i" from 1 to (count _missionsList) do "_triggered", // 2 // integer - specifies if mission was triggered by a player or scripting such as debug setting "_missionData", // 4 // variable containing information specific to this instance of the mission such as location and objects "_missionConfigs", // 5 // Variables regarding the configuration of the dynamic mission + "_spawnPara", "_isStatic", "_missionFile" ];