|
Tiberian Technologies Scripts Reference Revision: 9000
|
Yet Another Teleport Script. More...
#include <dp88_misc.h>
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.
| ObjectID | The 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. |
| Bone | The bone on the object to teleport to, or 0 to teleport to the objects origin. Not applicable if ObjectID is set to 0. |
| Offset | If 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_Infantry | Set this to 1 if infantry should be teleported by this script, 0 if it should ignore infantry |
| Teleport_Vehicles | Set this to 1 if vehicles should be teleported by this script, 0 if it should ignore vehicles |