Call of Duty 4: Scripting Reference - Spawn::PositionWouldTelefrag

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


PositionWouldTelefrag( <position> )

Module: Spawn
MP Only

Summary:

Returns true if the passed in origin would telefrag a player if another player was spawned there.


Call this on:

Example:

if ( PositionWouldTelefrag( spawnpoints[i].origin ) ) ...

Required arguments:

  1. <position> The position of the potential spawn point


Optional arguments:

none


Notes:

none