Actually, I can't get it to wrok :(


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]

Posted by Raptor [JiB] on February 05, 1998 at 15:09:18:

In Reply to: Re: Real problems with TeleportThing posted by CogKing on February 04, 1998 at 19:05:07:


> > 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);

I did just as you said, adding

thing newghost

in the symbols. Nothing happenned. Do I need any of this local, nolink etc. stuff, what's going on?
> TeleportThing(player, newGhost);

> -CogKing




Follow Ups:



Post a Followup

Name:
E-Mail:
Subject:
Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]