Call of Duty 4: Scripting Reference - AI::CanSee

From COD Modding & Mapping Wiki
Share/Save/Bookmark
Jump to: navigation, search


CanSee( <target> )

Module: AI
SP Only

Summary:

Check to see if the actor can see the given entity.


Call this on: <actor> An actor

Example:

if( self CanSee( player ) )

Required arguments:

  1. <target> (entity) The entity to check.


Optional arguments:

none


Notes:

none