BIS fnc triggerToMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "")
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|Comments=
{{Function| arma3|1.00|gr1 = Map and Markers|eff= local |MP Effect=


| arma3 |Game name=
| 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=
 
|1.00|Game version=
 
|gr1 = Map and Markers |GROUP1=
 
|eff= local |MP Effect=
 
| Makes an existing or new trigger cover a marker area. |Description=
 
| [trigger, markerName] call [[BIS_fnc_triggerToMarker]] |Syntax=
 
|p1= trigger: [[Object]] - trigger that will be used to cover the marker. [[objNull]] to create a new trigger |Parameter 1=
 
|p2= markerName: [[String]] |Parameter 2=
 
| [[Object]] - the (created) trigger. [[objNull]] if marker is not rectangular or elliptical. |Return value=
 
|x1= <code>_createdTrigger = [<nowiki/>[[objNull]], myAreaTrigger] [[call]] [[BIS_fnc_triggerToMarker]];</code> |Example 1=
 
| [[BIS_fnc_markerToTrigger]] |See also=
}}
}}



Revision as of 11:02, 18 January 2021

Hover & click on the images for description

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