BIS fnc triggerToMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also: counterpart function)
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 9: Line 8:


|eff= local |MP Effect=
|eff= local |MP Effect=
____________________________________________________________________________________________


| Makes an existing or new trigger cover a marker area. |Description=
| Makes an existing or new trigger cover a marker area. |Description=
____________________________________________________________________________________________


| [trigger, markerName] call [[BIS_fnc_triggerToMarker]] |Syntax=
| [trigger, markerName] call [[BIS_fnc_triggerToMarker]] |Syntax=
Line 21: Line 18:


| [[Object]] - the (created) trigger. [[objNull]] if marker is not rectangular or elliptical. |Return value=
| [[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=
|x1= <code>_createdTrigger = [<nowiki/>[[objNull]], myAreaTrigger] [[call]] [[BIS_fnc_triggerToMarker]];</code> |Example 1=
____________________________________________________________________________________________


| [[BIS_fnc_markerToTrigger]] |See also=
| [[BIS_fnc_markerToTrigger]] |See also=

Revision as of 01:06, 17 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

Notes

Bottom Section