BIS fnc worldArea: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (Text replacement - "trigger" to "trigger")
 
(23 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= tkoh
____________________________________________________________________________________________
|version1= 1.00


| tkoh |= Game name
|game2= arma3
|version2= 0.50


|1.00|= Game version
|gr1= Map and Markers
____________________________________________________________________________________________


| <pre>/*
|eff= local


Description:
|descr= Creates (or returns if it already exists) trigger with size of map.
Creates (or returns if it already exists) trigger with size of map


Parameter(s):
|s1= call [[BIS_fnc_worldArea]]
NOTHING


Returns:
|r1= [[Object]]: a [[Trigger|trigger]] covering the whole ''defined'' terrain. Referenced by '''hsim_worldArea''' variable
OBJECT
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|x1= <sqf>private _bigTrigger = call BIS_fnc_worldArea;</sqf>
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_worldArea]]; --> |= Syntax
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[worldSize]] [[2D Editor: Triggers]] [[Eden Editor: Trigger]] [[createTrigger]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Map|{{uc:worldArea}}]]
[[Category:Functions|{{uc:worldArea}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:worldArea}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:worldArea}}]]

Latest revision as of 18:37, 15 July 2022

Hover & click on the images for description

Description

Description:
Creates (or returns if it already exists) trigger with size of map.
Execution:
call
Groups:
Map and Markers

Syntax

Syntax:
call BIS_fnc_worldArea
Return Value:
Object: a trigger covering the whole defined terrain. Referenced by hsim_worldArea variable

Examples

Example 1:
private _bigTrigger = call BIS_fnc_worldArea;

Additional Information

See also:
worldSize 2D Editor: Triggers Eden Editor: Trigger createTrigger

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