BIS fnc markerToTrigger: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Map and Markers |GROUP1=")
m (Text replacement - "\[\[Category:Function Group: [a-zA-Z0-9_: ]+(\|\{\{[a-zA-Z0-9_: ]+\}\})?\]\]" to " ")
Line 38: Line 38:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:markerToTrigger}}]]
[[Category:Functions|{{uc:markerToTrigger}}]]
[[Category:Function Group: Map|{{uc:markerToTrigger}}]]
 
 
 
[[Category:{{Name|arma3}}: Functions|{{uc:markerToTrigger}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:markerToTrigger}}]]

Revision as of 13:10, 13 October 2020

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

Additional Information

See also:
createMarkercreateMarkerLocal

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

Notes

Bottom Section