BIS fnc triggerToMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Page filling)
Line 1: Line 1:
{{Function|Comments=
____________________________________________________________________________________________


{{Function|= Comments
| arma3 |Game name=
____________________________________________________________________________________________


| arma3 |= Game name
|1.00|Game version=


|1.00|= Game version
|eff= local |MP Effect=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Makes an existing or new trigger cover a marker area. |Description=
File: triggerToMarker.sqf
____________________________________________________________________________________________
Description:
Makes an existing or new trigger cover a marker area.
Parameter(s):
_this select 0: <object> trigger that will be used to cover the marker - objNull to create a new trigger
_this select 1: <string> marker
Returns:
Trigger (object). Returns objNull if the function failed.
How to use:
_trigger = [objNull, "marker1"] call BIS_fnc_triggerToMarker;
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
| [trigger, markerName] call [[BIS_fnc_triggerToMarker]] |Syntax=
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_triggerToMarker]]; --> |= Syntax
|p1= trigger: [[Object]] - trigger that will be used to cover the marker. [[objNull]] to create a new trigger |Parameter 1=


|p1= |= Parameter 1
|p2= markerName: [[String]] |Parameter 2=


| |= Return value
| [[Object]] - the (created) trigger. [[objNull]] if marker is not rectangular or elliptical. |Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>_createdTrigger = <nowiki>[</nowiki>[[objNull]], myAreaTrigger] [[call]] [[BIS_fnc_triggerToMarker]];</code> |Example 1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[:Category:Command_Group:_Activators|Activators Command Group]] |See also=
 
}}
}}


Line 50: Line 35:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:triggerToMarker}}]]
[[Category:Function Group: Map|{{uc:triggerToMarker}}]]
[[Category:Function Group: Map|{{uc:triggerToMarker}}]]
[[Category:Functions|{{uc:triggerToMarker}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:triggerToMarker}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:triggerToMarker}}]]

Revision as of 12:03, 5 June 2018

Hover & click on the images for description

Description

Description:
Makes an existing or new trigger cover a marker area.
Execution:
call
Groups:
Uncategorised

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:
Activators Command Group

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