Hi, I'm trying to use a trigger to remove a custom objective named CustomObjectiveTatters
I've been calling the script (described here - (http://alivemod.com/forum/2684-alive-and-scripting/0)
with this in the trigger activated option
["CustomObjectiveTatters","GUER"] call cjb_RemoveObjectiveToSides;
I'm getting this error
20:39:08 File C:\Users\Pete\Documents\Arma 3 - Other Profiles\Pistol%20Pete\mpmissions\Checkpoint%20Sandybottom.Takistan\Scripts\opcomrem.sqf, line 17
20:39:08 Error in expression <ctive", _id] call ALiVE_fnc_OPCOM;
};
} forEach _factions;
} forEach OPCOM_INSTA>
20:39:08 Error position: <forEach _factions;
} forEach OPCOM_INSTA>
20:39:08 Error Generic error in expression
I've packed up the script in a .sqf named opcomrem.
I've been using the other 'addobjective' script in the same trigger without difficulty, but can't fugure out what's wrong with the remove option.
Can anyone help and or suggest another option to switch off an objective no longer required in scenario?
Many thx