BIS fnc markerToTrigger: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[private\]\] (_?[a-zA-Z0-9_]+) = \[([^\[]*)\] \[\[(call|spawn)\]\] \[\[(BI(N|S)_fnc_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>private $1 = [$2] $3 $4;</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - " |s1=[" to " |s1= [") |
||
Line 8: | Line 8: | ||
|descr= Makes an existing or new marker cover a trigger area. | |descr= Makes an existing or new marker cover a trigger area. | ||
|s1=[markerName, trigger'', localChange''] call [[BIS_fnc_markerToTrigger]] | |s1= [markerName, trigger'', localChange''] call [[BIS_fnc_markerToTrigger]] | ||
|p1= markerName: [[String]] - marker name - if no marker uses the name, a marker will be created | |p1= markerName: [[String]] - marker name - if no marker uses the name, a marker will be created |
Latest revision as of 23:11, 12 July 2022
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:
Additional Information
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