{"name":"BIS_fnc_triggerToMarker","operator":null,"title":"BIS fnc triggerToMarker","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_triggerToMarker","revid":328350,"updated":"2022-07-13T16:00:46Z","groups":["Map and Markers"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":"local","server_exec":false},"exec":null,"description":"Makes an existing or new trigger cover a marker area.","syntaxes":[{"syntax":"[trigger, markerName] call BIS_fnc_triggerToMarker","since":null,"effect":null,"exec":null,"params":[{"name":"trigger","type":"Object","optional":false,"default":null,"description":"trigger that will be used to cover the marker. objNull to create a new trigger","types":["Object"],"since":null,"text":"trigger: Object - trigger that will be used to cover the marker. objNull to create a new trigger"},{"name":"markerName","type":"String","optional":false,"default":null,"description":null,"types":["String"],"since":null,"text":"markerName: String"}],"returns":{"type":"Object","types":["Object"],"description":"the (created) trigger. objNull if marker is not rectangular or elliptical.","text":"Object - the (created) trigger. objNull if marker is not rectangular or elliptical."}}],"examples":[{"text":"```sqf\nprivate _createdTrigger = [objNull, myAreaTrigger] call BIS_fnc_triggerToMarker;\n```","code":["private _createdTrigger = [objNull, myAreaTrigger] call BIS_fnc_triggerToMarker;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_markerToTrigger"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Map and Markers","Functions","Functions: Local Effect","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}