BIS fnc triggerToMarker: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <nowiki>[</nowiki>" to " [<nowiki/>") |
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<{]+)<\/code>" to "= <sqf>$1</sqf>") |
||
(22 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| arma3 | | |game1= arma3 | ||
|version1= 1.00 | |||
| | |gr1= Map and Markers | ||
|eff= local | |eff= local | ||
| Makes an existing or new trigger cover a marker area. | |descr= Makes an existing or new trigger cover a marker area. | ||
| [trigger, markerName] call [[BIS_fnc_triggerToMarker]] | |s1= [trigger, markerName] call [[BIS_fnc_triggerToMarker]] | ||
|p1= trigger: [[Object]] - trigger that will be used to cover the marker. [[objNull]] to create a new trigger | |p1= trigger: [[Object]] - trigger that will be used to cover the marker. [[objNull]] to create a new trigger | ||
|p2= markerName: [[String]] | |p2= markerName: [[String]] | ||
| [[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= < | |x1= <sqf>private _createdTrigger = [objNull, myAreaTrigger] call BIS_fnc_triggerToMarker;</sqf> | ||
| [[ | |seealso= [[BIS_fnc_markerToTrigger]] | ||
}} | }} | ||
Latest revision as of 17:00, 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:
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