home *** CD-ROM | disk | FTP | other *** search
- #
- # This file is called if a player teleports from the Swamp World.
- # The $1 argument contains the name of the .KQ file to be loaded in the new
- # world minus the KQ extension.
- #
-
- echo We made it through Alan's code!
- echo and he sent us $1
-
- # Make sure only one ever exists!
- if test $Swamp::Teleport::Name != 0
- echo Delete $Swamp::Teleport::Name
- deleteObject $Swamp::Teleport::Name
- endif
-
- # Load the portal at the correct location for this world.
- loadKQ $1 @ 88828 150638 10570
- set Swamp::Teleport::Name $ObjectName
-
- # Beam me out Scotty
- KQMonster::setState Connor Portal $Swamp::Teleport::Name
-