BIS fnc isInFrontOf: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Undo revision 237852 by R3vo (talk))
Tag: Undo
Line 31: Line 31:
[[Category:{{Name|arma2oa}}: Functions|{{uc:isInFrontOf}}]]
[[Category:{{Name|arma2oa}}: Functions|{{uc:isInFrontOf}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:isInFrontOf}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:isInFrontOf}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:isInFrontOf}}]]

Revision as of 11:08, 2 February 2021

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:
Return value needed

Examples

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

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