BIS_fnc_markerToTrigger

From Bohemia Interactive Community
Revision as of 00:11, 13 July 2022 by Lou Montana (talk | contribs) (Text replacement - " |s1=[" to " |s1= [")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Makes an existing or new marker cover a trigger area.
Execution:
call
Groups:
Map and Markers

Syntax

Syntax:
[markerName, trigger, localChange] call BIS_fnc_markerToTrigger
Parameters:
markerName: String - marker name - if no marker uses the name, a marker will be created
trigger: Object - trigger that will be covered by the marker
localChange: Boolean (Optional, default false) are changes local (local marker creation and/or local marker changes)
Return Value:
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;

Additional Information

See also:
createMarker createMarkerLocal BIS_fnc_triggerToMarker

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note