Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Product Chat / Random Teleporter

Author
Message
Hyper sphere
16
Years of Service
User Offline
Joined: 26th Apr 2008
Location:
Posted: 27th Apr 2008 05:19
I'm getting the hand of the teleporter, but I don't know how to set the "IN" Teleport entity to go to a random "OUT" teleport entity, so that not even the creator knows which room they're heading.
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 27th Apr 2008 08:03
Well, if you have a different name for all your OUT teleporters, then you can do something like this:

:random=10:plrmoveto=TeleporterOUT1
:random=10:plrmoveto=TeleporterOUT2
:random=10:plrmoveto=TeleporterOUT3
:ALWAYS:plrmoveto=TeleporterOUT4


If it doesn't go to one of the first three, then it'll default to going to the last teleporter.

Be aware that the PLRMOVETO command is a little buggy and can sometimes get the player stuck in a wall.


The one and only,
~PlystirE~

Hyper sphere
16
Years of Service
User Offline
Joined: 26th Apr 2008
Location:
Posted: 7th May 2008 18:53
I'm new to FPS Creator, where does that code go or more to the point how do you put that code in the game?

Login to post a reply

Server time is: 2024-11-27 21:27:14
Your offset time is: 2024-11-27 21:27:14