Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
List of all members
dp88_teleport Class Reference

Yet Another Teleport Script. More...

#include <dp88_misc.h>

Detailed Description

Author
Daniel Paul

The teleport script to end all teleport scripts, this is designed to cover almost any scenario for teleporting units to a location or another object. It can be attached to either a script zone, a pokeable object or a powerup for maximum flexibility.

Parameters
ObjectIDThe ID of an object to teleport to, or 0 to teleport to a location instead. If a target object with the specified ID is not found the script will not teleport the unit.
BoneThe bone on the object to teleport to, or 0 to teleport to the objects origin. Not applicable if ObjectID is set to 0.
OffsetIf teleporting to an object (or one of it's bones), apply this offset to the object location. Otherwise this is used as the absolute position to teleport to (ie: an offset from 0,0,0)
Teleport_InfantrySet this to 1 if infantry should be teleported by this script, 0 if it should ignore infantry
Teleport_VehiclesSet this to 1 if vehicles should be teleported by this script, 0 if it should ignore vehicles
Note
If you only want to teleport players and not AI controlled units use a script zone and tick the CheckStarsOnly box in LevelEdit.