BIS fnc worldArea: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|Multiplayer Effects(...)
m (Text replacement - "trigger" to "trigger")
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function| tkoh|1.00|gr1 = Map and Markers|eff= local |= Effect
{{RV|type=function


| Creates (or returns if it already exists) trigger with size of map.| call [[BIS_fnc_worldArea]]| [[Object]]: a [[trigger]] covering the whole ''defined'' terrain. Referenced by '''hsim_worldArea''' variable|x1= <code>_bigTrigger = [[call]] [[BIS_fnc_worldArea]];</code>| [[worldSize]], [[2D Editor: Triggers]], [[Eden Editor: Trigger]], [[createTrigger]]
|game1= tkoh
}}
|version1= 1.00
 
|game2= arma3
|version2= 0.50
 
|gr1= Map and Markers
 
|eff= local
 
|descr= Creates (or returns if it already exists) trigger with size of map.


|s1= call [[BIS_fnc_worldArea]]


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


|x1= <sqf>private _bigTrigger = call BIS_fnc_worldArea;</sqf>


[[Category:Functions|{{uc:worldArea}}]]
|seealso= [[worldSize]] [[2D Editor: Triggers]] [[Eden Editor: Trigger]] [[createTrigger]]
[[Category:{{Name|tkoh}}: Functions|{{uc:worldArea}}]]
}}
[[Category:{{Name|arma3}}: Functions|{{uc:worldArea}}]]

Latest revision as of 19: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