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 Scripts / Teleport on "ENTER"?

Author
Message
Pus In Boots
19
Years of Service
User Offline
Joined: 5th Nov 2005
Location: S.M.I.L.E. industries
Posted: 14th Sep 2007 19:30
Could someone make a script where; when you press the ENTER button, you are teleported to an OUT zone?


Join the pus in boots fan club for £39.99 a month and get a free T-shirt!!!
Cyborg ART
17
Years of Service
User Offline
Joined: 14th Jan 2007
Location: Sweden - Sthlm
Posted: 14th Sep 2007 19:50
maybe put a switch and set if used to the teleport?

Visit our new website! www.bigvikinggames.tk !New Forum is up!
Follow the progress of Lost Treasures
Pus In Boots
19
Years of Service
User Offline
Joined: 5th Nov 2005
Location: S.M.I.L.E. industries
Posted: 14th Sep 2007 20:00
Doesn't work


Join the pus in boots fan club for £39.99 a month and get a free T-shirt!!!
Captain Kirk
19
Years of Service
User Offline
Joined: 30th Aug 2005
Location: Sickbay
Posted: 14th Sep 2007 21:10 Edited at: 14th Sep 2007 21:26
1. Place the liftswitch from scifi/wall furniture into the level
2. Place the teleport out from scifi/scenery/teleport into the level. Rename it to "tpout1"

3. With notepad save this script to your scriptbank as switch_11.fpi



4. Right click on the switch and replace the Main script with this.


Switch teleport will work.
Pus In Boots
19
Years of Service
User Offline
Joined: 5th Nov 2005
Location: S.M.I.L.E. industries
Posted: 14th Sep 2007 21:49 Edited at: 14th Sep 2007 22:24
Thanks. I'm testing now...

EDIT: yep. Works fine. Thanx again


Join the pus in boots fan club for £39.99 a month and get a free T-shirt!!!
Captain Kirk
19
Years of Service
User Offline
Joined: 30th Aug 2005
Location: Sickbay
Posted: 15th Sep 2007 14:03
You are welcome.

Oh yes, one important thing: Right click on the switch and erease the "If used" field. And be sure that you will give an unique name for the entities and lifts in the future. Other then "Lift".
Pus In Boots
19
Years of Service
User Offline
Joined: 5th Nov 2005
Location: S.M.I.L.E. industries
Posted: 15th Sep 2007 23:47
Actually, I made a small change to the script, so it now uses the If Used entity specified rather than a specific one.




Join the pus in boots fan club for £39.99 a month and get a free T-shirt!!!
Pus In Boots
19
Years of Service
User Offline
Joined: 5th Nov 2005
Location: S.M.I.L.E. industries
Posted: 16th Sep 2007 20:57
Would it be possible to modify the script so that you need to collect an item before the teleport can be activated? Like a door key.


Join the pus in boots fan club for £39.99 a month and get a free T-shirt!!!
Pus In Boots
19
Years of Service
User Offline
Joined: 5th Nov 2005
Location: S.M.I.L.E. industries
Posted: 22nd Sep 2007 18:53
Never mind, little change to the script and...





The Pus in Boots fan club. YOU KNOW YOU WANT IT
Captain Kirk
19
Years of Service
User Offline
Joined: 30th Aug 2005
Location: Sickbay
Posted: 24th Sep 2007 12:22
Wow. I also need something like this, I will try it out.

Login to post a reply

Server time is: 2024-11-23 22:36:10
Your offset time is: 2024-11-23 22:36:10