Posted by CogKing on February 04, 1998 at 19:05:07:
In Reply to: Real problems with TeleportThing posted by Raptor [JiB] on February 04, 1998 at 17:56:55:
> I am using a ghost as suggested. However, this ghost is created earlier during the cog. The only refernce to it in symbols is template placeghost=ghost
> In code it is created using CreateThing(placedghost, player);
> Later I use TeleportThing(player, placedghost) but it only crashes to windows, so what have I done wrong?
Yuck, you are trying to teleport the player on a template... :-)
Use :
newGhost = CreateThing(placedghost, player);
TeleportThing(player, newGhost);
-CogKing