BIS fnc triggerToMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Text replacement - " *\|MP *[Ee]ffects* *= * " to " ")
Line 1: Line 1:
{{RV|type=function
{{RV|type=function
| arma3|1.00|gr1 = Map and Markers|eff= local |MP Effect=
| arma3|1.00|gr1 = Map and Markers|eff= local


| 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 16:27, 7 February 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