insideBuilding: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{RV|type=command |game1= arma3 |version1= 2.12 |gr1= Object Manipulation |descr= Returns how much a man is inside a building. The value is the same as normally returned by...")
(No difference)

Revision as of 21:01, 12 January 2023

Hover & click on the images for description

Description

Description:
Returns how much a man is inside a building. The value is the same as normally returned by weapons/ammo sound controller "interior".
Groups:
Object Manipulation

Syntax

Syntax:
insideBuilding man
Parameters:
man: Object - entity of class Man
Return Value:
Number - in range 0...1, where 0-outside, 1-inside

Examples

Example 1:
_inside = insideBuilding player;

Additional Information

See also:
buildingPos buildingExit BIS_fnc_buildingPositions

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