Call of Duty Script Documentation

islookingat( <entity> )


Module
Player


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


Number of optional arguments: 0



Return to Function List