BIS fnc triggerToMarker: Difference between revisions
Jump to navigation
Jump to search
m (see also: counterpart function) |
Lou Montana (talk | contribs) 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 00:06, 17 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