BIS fnc isBuildingEnterable: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
(Created page with "{{Function|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.00|= Game version ___________________...")
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 8: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Check whether a building or structure has available positions defined within model. |= Description
____________________________________________________________________________________________
Description:
This function returns whether a building is has model defined positions inside of it or not
Parameter(s):
_this select 0: OBJECT - The building object to check
_this select 1: NUMBER - The minimum number of available positions a building needs to have in order to this function return true
Returns:
BOOLEAN - Whether this building has available positions defined in model
*/


//Parameters
| param call [[BIS_fnc_isBuildingEnterable]]; |= Syntax
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_isBuildingEnterable]]; --> |= Syntax
|p1= param: [[Object]] |= Parameter 1


|p1= |= Parameter 1
|p2= param: [[Number]] |= Parameter 2


| |= Return value
| [[Array]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
 
|x1= <code>[_building] [[call]] [[BIS_fnc_isBuildingEnterable]];</code> |=


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


Line 47: Line 36:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Misc|{{uc:isBuildingEnterable}}]]
 
[[Category:Functions|{{uc:isBuildingEnterable}}]]
[[Category:Arma 3:_Functions|log]]
[[Category:{{Name|arma3}}: Functions|{{uc:isBuildingEnterable}}]]
[[Category:Function Group: Debug|log]]

Revision as of 14:01, 1 November 2013

Hover & click on the images for description

Description

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

Syntax

Syntax:
param call BIS_fnc_isBuildingEnterable;
Parameters:
param: Object
param: Number
Return Value:
Array

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

Notes

Bottom Section