BIS fnc worldArea: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3")
m (Text replacement - "= <code>(\[?[^\[]+\]?) *\[\[(call|spawn)\]\] *(\[\[)?(BI(N|S)_fnc_[a-zA-Z0-9_]+)(\]\])?;?<\/code>" to "= <sqf>$1 $2 $4;</sqf>")
Line 17: Line 17:
|r1= [[Object]]: a [[trigger]] covering the whole ''defined'' terrain. Referenced by '''hsim_worldArea''' variable
|r1= [[Object]]: a [[trigger]] covering the whole ''defined'' terrain. Referenced by '''hsim_worldArea''' variable


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


|seealso= [[worldSize]] [[2D Editor: Triggers]] [[Eden Editor: Trigger]] [[createTrigger]]
|seealso= [[worldSize]] [[2D Editor: Triggers]] [[Eden Editor: Trigger]] [[createTrigger]]
}}
}}

Revision as of 14:22, 1 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