From Bohemia Interactive Community
					 
					
					
					
					
Hover & click on the images for description
 
Description
- Description:
 
- Executes a code when one of the specified objects is looked at (player's cursor pointed towards it) for enough time
 
- Execution:
 
- call
 - Groups:
 
- Interaction
 
Syntax
- Syntax:
 
- [initialize, lookAtData] call BIS_fnc_lookAtArray
 - Parameters:
 
- initialize: Boolean - true to initialize, false to remove it
 
- lookAtData: Array - an array with arrays of look-up-data in form of:
- 0: Object - Object to be looked at
 
- 1: Number - How long player has to look at it
 
- 2: Boolean - true to remove it from array when player looked at it
 
- 3: Code - Code spawned when player looked long enough at the object
 
 - Return Value:
 
- Nothing
 
Examples
- Example 1:
 
Additional Information
- See also:
 
- BIS_fnc_lookAtArrayEH
 
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