BIS fnc triggerToMarker: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|Multiplayer Effects(...) |
||
Line 1: | Line 1: | ||
{{Function| | {{Function| arma3|1.00|gr1 = Map and Markers|eff= local |MP Effect= | ||
| Makes an existing or new trigger cover a marker area.| [trigger, markerName] call [[BIS_fnc_triggerToMarker]]|p1= trigger: [[Object]] - trigger that will be used to cover the marker. [[objNull]] to create a new trigger|p2= markerName: [[String]]| [[Object]] - the (created) trigger. [[objNull]] if marker is not rectangular or elliptical.|x1= <code>_createdTrigger = [<nowiki/>[[objNull]], myAreaTrigger] [[call]] [[BIS_fnc_triggerToMarker]];</code>| [[BIS_fnc_markerToTrigger]] |See also= | |||
| Makes an existing or new trigger cover a marker area. | |||
| [trigger, markerName] call [[BIS_fnc_triggerToMarker]] | |||
|p1= trigger: [[Object]] - trigger that will be used to cover the marker. [[objNull]] to create a new trigger | |||
|p2= markerName: [[String]] | |||
| [[Object]] - the (created) trigger. [[objNull]] if marker is not rectangular or elliptical. | |||
|x1= <code>_createdTrigger = [<nowiki/>[[objNull]], myAreaTrigger] [[call]] [[BIS_fnc_triggerToMarker]];</code> | |||
| [[BIS_fnc_markerToTrigger]] |See also= | |||
}} | }} | ||
Revision as of 10:02, 18 January 2021
Description
- Description:
- Makes an existing or new trigger cover a marker area.
- Execution:
- call
- Groups:
- Map and Markers
Syntax
- Syntax:
- [trigger, markerName] call BIS_fnc_triggerToMarker
- Parameters:
- trigger: Object - trigger that will be used to cover the marker. objNull to create a new trigger
- markerName: String
- Return Value:
- Object - the (created) trigger. objNull if marker is not rectangular or elliptical.
Examples
- Example 1:
_createdTrigger = [objNull, myAreaTrigger] call BIS_fnc_triggerToMarker;
Additional Information
- See also:
- BIS_fnc_markerToTrigger
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