BIS fnc isInFrontOf: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
Lou Montana (talk | contribs) m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ") |
||
Line 5: | Line 5: | ||
|1.00 | |1.00 | ||
|gr1 = Object Manipulation | |gr1= Object Manipulation | ||
|gr2 = Geometry | |gr2= Geometry | ||
| Check if an object is in front of another object (in the front 180°) | | Check if an object is in front of another object (in the front 180°) |
Revision as of 12:41, 11 April 2021
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:
- 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