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

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


GetHitEntType()

Module: AI
SP Only

Summary:

Get the type of entity that the actor has hit. Can be 'hit', 'obstacle' or 'world'.


Call this on: <actor> An actor

Example:

 self GetHitEntType();

Required arguments:

none


Optional arguments:

none


Notes:

none