Call of Duty Script Documentation
islookingat( <entity> )
ModulePlayer
Summary
Returns true if the entity is the same as the player's lookat entity
Call this function on
The player
Example
level.player islookingat( trigger );
Minimum Number of arguments: 1
1 : <entity>: An entity.
Number of optional arguments: 0
Return to Function List