diff --git a/addons/main/cfgVehicles.hpp b/addons/main/cfgVehicles.hpp index 9dad0f5..7f4a819 100644 --- a/addons/main/cfgVehicles.hpp +++ b/addons/main/cfgVehicles.hpp @@ -36,7 +36,7 @@ class cfgVehicles { functionPriority = 1; scope = 2; //show in editor isGlobal = 0; //run on server - isTriggerActivated = 0; //Wait for triggers + isTriggerActivated = 1; //Wait for triggers //icon = QPATHTOF(UI\Icon_Module_Make_Unit_Handcuffed_ca.paa); class Arguments {}; class ModuleDescription: ModuleDescription { @@ -53,7 +53,7 @@ class cfgVehicles { functionPriority = 1; scope = 2; //show in editor isGlobal = 0; //run on server - isTriggerActivated = 0; //Wait for triggers + isTriggerActivated = 1; //Wait for triggers //icon = QPATHTOF(UI\Icon_Module_Make_Unit_Handcuffed_ca.paa); class Arguments {}; class ModuleDescription: ModuleDescription { @@ -70,7 +70,7 @@ class cfgVehicles { functionPriority = 1; scope = 2; //show in editor isGlobal = 0; //run on server - isTriggerActivated = 0; //Wait for triggers + isTriggerActivated = 1; //Wait for triggers //icon = QPATHTOF(UI\Icon_Module_Make_Unit_Handcuffed_ca.paa); class Arguments {}; class ModuleDescription: ModuleDescription { @@ -87,7 +87,7 @@ class cfgVehicles { functionPriority = 1; scope = 2; //show in editor isGlobal = 0; //run on server - isTriggerActivated = 0; //Wait for triggers + isTriggerActivated = 1; //Wait for triggers //icon = QPATHTOF(UI\Icon_Module_Make_Unit_Handcuffed_ca.paa); class Arguments {}; class ModuleDescription: ModuleDescription { @@ -104,7 +104,7 @@ class cfgVehicles { functionPriority = 1; scope = 2; //show in editor isGlobal = 0; //run on server - isTriggerActivated = 0; //Wait for triggers + isTriggerActivated = 1; //Wait for triggers //icon = QPATHTOF(UI\Icon_Module_Make_Unit_Handcuffed_ca.paa); class Arguments { class anomalyId { @@ -131,7 +131,7 @@ class cfgVehicles { canSetAreaShape = 1; scope = 2; //show in editor isGlobal = 0; //run on server - isTriggerActivated = 0; //Wait for triggers + isTriggerActivated = 1; //Wait for triggers //icon = QPATHTOF(UI\Icon_Module_Make_Unit_Handcuffed_ca.paa); class Arguments { class springboards { @@ -180,7 +180,7 @@ class cfgVehicles { canSetAreaShape = 1; scope = 2; //show in editor isGlobal = 0; //run on server - isTriggerActivated = 0; //Wait for triggers + isTriggerActivated = 1; //Wait for triggers //icon = QPATHTOF(UI\Icon_Module_Make_Unit_Handcuffed_ca.paa); class Arguments { }; @@ -210,7 +210,7 @@ class cfgVehicles { functionPriority = 1; scope = 2; //show in editor isGlobal = 0; //run on server - isTriggerActivated = 0; //Wait for triggers + isTriggerActivated = 1; //Wait for triggers //icon = QPATHTOF(UI\Icon_Module_Make_Unit_Handcuffed_ca.paa); class Arguments {}; class ModuleDescription: ModuleDescription { @@ -227,7 +227,7 @@ class cfgVehicles { functionPriority = 1; scope = 2; //show in editor isGlobal = 1; //run on everyone - isTriggerActivated = 0; //Wait for triggers + isTriggerActivated = 1; //Wait for triggers //icon = QPATHTOF(UI\Icon_Module_Make_Unit_Handcuffed_ca.paa); class Arguments {}; class ModuleDescription: ModuleDescription { @@ -244,7 +244,7 @@ class cfgVehicles { functionPriority = 1; scope = 2; //show in editor isGlobal = 0; //run on server - isTriggerActivated = 0; //Wait for triggers + isTriggerActivated = 1; //Wait for triggers //icon = QPATHTOF(UI\Icon_Module_Make_Unit_Handcuffed_ca.paa); class ModuleDescription: ModuleDescription { description = "$STR_anomaly_comet_desc"; diff --git a/addons/main/functions/anomalies/fn_createAnomalyField.sqf b/addons/main/functions/anomalies/fn_createAnomalyField.sqf index e105430..ee10b1c 100644 --- a/addons/main/functions/anomalies/fn_createAnomalyField.sqf +++ b/addons/main/functions/anomalies/fn_createAnomalyField.sqf @@ -19,6 +19,7 @@ diwako 2018-03-21 */ params["_posParams",["_springboard",0],["_burner",0],["_electra",0],["_meatgrinder",0]]; +if !(isServer) exitWith {nil}; if !(_posParams isEqualType []) then { //created via module diff --git a/addons/main/functions/anomalies/fn_createComet.sqf b/addons/main/functions/anomalies/fn_createComet.sqf index 2685f61..8088f8e 100644 --- a/addons/main/functions/anomalies/fn_createComet.sqf +++ b/addons/main/functions/anomalies/fn_createComet.sqf @@ -16,7 +16,7 @@ Author: diwako 2024-10-18 */ -params[["_marker", ""], ["_speed", 6], ["_smoothCurves", true]]; +params [["_marker", ""], ["_speed", 6], ["_smoothCurves", true]]; if !(isServer) exitWith {nil}; if !(_marker isEqualType []) then {