Skip to content

Commit

Permalink
Fix 3den trigger activation of modules (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
diwako authored Oct 22, 2024
1 parent 9468d02 commit b0ca3eb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
20 changes: 10 additions & 10 deletions addons/main/cfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand All @@ -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 {
Expand All @@ -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 {
Expand All @@ -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 {
Expand All @@ -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 {
Expand Down Expand Up @@ -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 {
};
Expand Down Expand Up @@ -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 {
Expand All @@ -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 {
Expand All @@ -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";
Expand Down
1 change: 1 addition & 0 deletions addons/main/functions/anomalies/fn_createAnomalyField.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion addons/main/functions/anomalies/fn_createComet.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b0ca3eb

Please sign in to comment.