I need a simple cog that when you walk into a specified sector it teleports you to a ghost position ![http://forums.massassi.net/html/wink.gif [http://forums.massassi.net/html/wink.gif]](http://forums.massassi.net/html/wink.gif)
![http://forums.massassi.net/html/wink.gif [http://forums.massassi.net/html/wink.gif]](http://forums.massassi.net/html/wink.gif)
Cha cha cha CHIA!!
This is the static archive of the Massassi Forums. The forums are
closed indefinitely. Thanks for all the memories!
You can also download
Super Old Archived Message Boards
from when Massassi first started.
"View" counts are as of the day the forums were archived, and will no longer increase.
![http://forums.massassi.net/html/wink.gif [http://forums.massassi.net/html/wink.gif]](http://forums.massassi.net/html/wink.gif)

![http://forums.massassi.net/html/wink.gif [http://forums.massassi.net/html/wink.gif]](http://forums.massassi.net/html/wink.gif)
#12/2001 GBK Symbols Message Entered Sector Target Thing Ghost Thing Player Local End Code Entered: Player = JKgetlocalplayer(); If(Getsenderref() != Target || Getsourceref() != Player) Stop; Teleportthing(Player, Ghost); Stop; End
![http://forums.massassi.net/html/wink.gif [http://forums.massassi.net/html/wink.gif]](http://forums.massassi.net/html/wink.gif)
#
# Teleports the player to a ghost position upon entry into a sector
#
# Nightmare (6/16/98)
#============================================================================
flags=0x240
symbols
message entered
message startup
sector telechamber
thing gotospot
int player local
int dummy local
sound telesound=ForceThrow01.WAV
template sparks=+telesparks
end
#============================================================================
code
entered:
player=GetLocalPlayerThing();
StopThing(player);
dummy = CreateThing(sparks, player);
dummy = PlaySoundLocal(telesound, 1.0, 0, 0);
TeleportThing(player, gotospot);
dummy = CreateThing(sparks, player);
return;
end