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

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


SetGoalEntity( <goal entity> )

Module: AI
SP Only

Summary:

Set this actor's goal entity.


Call this on: <actor> An actor

Example:

spawned SetGoalEntity( level.player );

Required arguments:

  1. <goal entity>(entity) The goal entity.


Optional arguments:

none


Notes:

none