Description
Makes an existing or new marker cover a trigger area.
Syntax
[markerName, trigger*, localChange*] call BIS_fnc_markerToTrigger
Parameters:
markerName: String - marker name - if no marker uses the name, a marker will be createdtrigger: Object - trigger that will be covered by the markerlocalChange: Boolean (Optional, default false) are changes local (local marker creation and/or local marker changes)
Returns: String - marker name or "" if marker couldn't be moved or created or if provided markerName is ""
Examples
Example 1
private _createdMarker = ["marker1", myTrigger] call BIS_fnc_markerToTrigger;