BIS fnc triggerToMarker: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-_]+)\]\]([^<]*)<\/code>" to "= <code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-_]+)\]\]([^<]*)<\/code>" to "= <code>$1$2$3</code>") |
||
Line 18: | Line 18: | ||
|r1= [[Object]] - the (created) trigger. [[objNull]] if marker is not rectangular or elliptical. | |r1= [[Object]] - the (created) trigger. [[objNull]] if marker is not rectangular or elliptical. | ||
|x1= <code>private _createdTrigger = [objNull, myAreaTrigger] call | |x1= <code>private _createdTrigger = [objNull, myAreaTrigger] call BIS_fnc_triggerToMarker;</code> | ||
|seealso= [[BIS_fnc_markerToTrigger]] | |seealso= [[BIS_fnc_markerToTrigger]] | ||
}} | }} |
Revision as of 16:56, 13 July 2022
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:
private _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