Files
MissionTemplate/framework/emp/functions/fn_applyServerObjectEffects.sqf
2024-02-10 16:13:42 -08:00

14 lines
393 B
Plaintext

#include "..\script_component.hpp"
// Executed on server only, global argument and global effect
// The server makes the change and broadcasts new state to all clients
if (!isServer) exitWith {};
params [["_object", objNull, [objNull]]];
if (isNull _object) exitWith {};
_object disableTIEquipment true;
_object disableNVGEquipment true;
_object setVariable ["A3TI_Disable", true, true];