BIS fnc triggerToMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
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(...)
m (Text replacement - "{{Function" to "{{RV|type=function ")
Line 1: Line 1:
{{Function| arma3|1.00|gr1 = Map and Markers|eff= local |MP Effect=
{{RV|type=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]]
| 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]]

Revision as of 12:45, 24 January 2021

Hover & click on the images for description

Description

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

Syntax

Syntax:
Syntax needed
Parameters:
trigger: Object - trigger that will be used to cover the marker. objNull to create a new trigger
markerName: String
Return Value:
Return value needed

Examples

Example 1:
_createdTrigger = [objNull, myAreaTrigger] call BIS_fnc_triggerToMarker;

Additional Information

See also:
See also needed

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