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

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


Teleport( <position>, <angles> )

Module: AI
SP Only

Summary:

Teleport the actor to a new position with the given origin and angles.


Call this on: <actor> An actor

Example:

 self Teleport( org, angles );

Required arguments:

  1. <position> (point) The actor's new position.
  2. <angles> (vector) The actor's new angles.


Optional arguments:

none


Notes:

none