BIS_fnc_isInFrontOf

From Bohemia Interactive Community
Revision as of 10:31, 10 June 2021 by Lou Montana (talk | contribs) (Text replacement - "\|" to "|")
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Object ManipulationGeometry

Syntax

Syntax:
Syntax needed
Parameters:
reference: Object - the reference object
checked: Object - the object that has to be in front of reference
offset: Number - (Optional, default 0) allows to check from offset meters in front of (positive), or behind (negative) reference
Return Value:
Boolean

Examples

Example 1:
_isInstructorInFrontOfPlayer = [player, instructor, 0] call BIS_fnc_isInFrontOf;

Additional Information

See also:
getRelDir BIS_fnc_isInsideArea

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