BIS fnc isBuildingEnterable: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Function " to "{{RV|type=function ")
m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?\[\[(call|spawn)\]\] \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>")
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
|version1= 1.00


|1.00
|gr1= Object Manipulation


|gr1 = Object Manipulation
|descr= Check whether a building or structure has available positions defined within model.


| Check whether a building or structure has available positions defined within model.
|s1= param call [[BIS_fnc_isBuildingEnterable]]
 
| param call [[BIS_fnc_isBuildingEnterable]];


|p1= param: [[Object]]
|p1= param: [[Object]]
Line 15: Line 14:
|p2= param: [[Number]]
|p2= param: [[Number]]


| [[Boolean]]
|r1= [[Boolean]]
 
|x1= <code>[_building] [[call]] [[BIS_fnc_isBuildingEnterable]];</code>


|x2= <code>[_building, _minNumberOfPositions] [[call]] [[BIS_fnc_isBuildingEnterable]];</code>
|x1= <sqf>[_building] call BIS_fnc_isBuildingEnterable;</sqf>
}}


|x2= <sqf>[_building, _minNumberOfPositions] call BIS_fnc_isBuildingEnterable;</sqf>


 
|seealso=
 
}}
[[Category:Functions|{{uc:isBuildingEnterable}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:isBuildingEnterable}}]]
 
<!-- DISCONTINUE Notes -->

Latest revision as of 14:04, 5 May 2022

Hover & click on the images for description

Description

Description:
Check whether a building or structure has available positions defined within model.
Execution:
call
Groups:
Object Manipulation

Syntax

Syntax:
param call BIS_fnc_isBuildingEnterable
Parameters:
param: Object
param: Number
Return Value:
Boolean

Examples

Example 1:
[_building] call BIS_fnc_isBuildingEnterable;
Example 2:
[_building, _minNumberOfPositions] call BIS_fnc_isBuildingEnterable;

Additional Information

See also:
See also needed

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