BIS fnc markerToTrigger: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
Line 17: Line 17:
|p3= localChange: [[Boolean]] (Optional, default [[false]]) are changes local (local marker creation and/or local marker changes)
|p3= localChange: [[Boolean]] (Optional, default [[false]]) are changes local (local marker creation and/or local marker changes)


| [[String]] - marker name or "" if marker couldn't be moved or created or if provided ''markerName'' is ""
|r1=[[String]] - marker name or "" if marker couldn't be moved or created or if provided ''markerName'' is ""


|x1= <code>_createdMarker = ["marker1", myTrigger] [[call]] [[BIS_fnc_markerToTrigger]];</code>
|x1= <code>_createdMarker = ["marker1", myTrigger] [[call]] [[BIS_fnc_markerToTrigger]];</code>

Revision as of 21:24, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Map and Markers

Syntax

Syntax:
Syntax needed
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:
_createdMarker = ["marker1", myTrigger] call BIS_fnc_markerToTrigger;

Additional Information

See also:
createMarkercreateMarkerLocalBIS_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