BIS fnc worldArea: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Comments" to "|Comments=")
m (Text replacement - "trigger" to "trigger")
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| tkoh |= Game name
|game1= tkoh
|version1= 1.00


|1.00|= Game version
|game2= arma3
|version2= 0.50


|eff= local |= Effect
|gr1= Map and Markers
____________________________________________________________________________________________


| Creates (or returns if it already exists) trigger with size of map. |DESCRIPTION=
|eff= local
____________________________________________________________________________________________


| call [[BIS_fnc_worldArea]] |SYNTAX=
|descr= Creates (or returns if it already exists) trigger with size of map.


| [[Object]]: a [[trigger]] covering the whole ''defined'' terrain. Referenced by '''hsim_worldArea''' variable |RETURNVALUE=
|s1= call [[BIS_fnc_worldArea]]
____________________________________________________________________________________________


|x1= <code>_bigTrigger = [[call]] [[BIS_fnc_worldArea]];</code> |EXAMPLE1=
|r1= [[Object]]: a [[Trigger|trigger]] covering the whole ''defined'' terrain. Referenced by '''hsim_worldArea''' variable
____________________________________________________________________________________________


| [[worldSize]], [[2D Editor: Triggers]], [[Eden Editor: Trigger]], [[createTrigger]] |SEEALSO=
|x1= <sqf>private _bigTrigger = call BIS_fnc_worldArea;</sqf>
 
|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