I'd like to create a trigger in script that is put down in the location of a marker (placed in the editor). And that can only be activated by the player. Thing is, I can't even work out what type of trigger to create.
The script below runs without errors but doesn't give me a trigger that works. I've tried numerous versions of this - changing the type and activation options - but with no success.
_pos = getMarkerPos "BaseMarker5";
basetrigger = createTrigger ["SWITCH", _pos];
basetrigger setTriggerActivation ["WEST", "PRESENT", false];
basetrigger setTriggerArea[100,100,0,false];
basetrigger setTriggerStatements ["this", "hint 'trigger on'", "hint 'trigger off'"];
Thanks for you time.