SphereCommunity
[ITEM] Random Teleportation Gate - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Submissions (/Forum-Script-Submissions)
+--- Thread: [ITEM] Random Teleportation Gate (/Thread-ITEM-Random-Teleportation-Gate)

Pages: 1 2


[ITEM] Random Teleportation Gate - pointhz - 08-29-2015 03:24 AM

Hello everyone,

The script I'm about to share is of a gate that allows you to pick up to 16 different locations and choose how many times you want those same locations to be "used".

Players whom walk through the gate will be randomly teleported to one of the available locations, if there is still any.

This is how the gate works:

Double-clicking the gate will prompt this menu for PLEVEL's > 1:

[Image: image.jpg]

Single-clicking a blue button behind a Location Number will ask you to target the desired Location (Must be the ground) to be stored in the gate tags.

In the "#" column you must enter the maximum amount of times you want the respective Location to be used. If you don't want to limit the gate uses, then you don't need to enter anything in this column, you just need to check the "Unlimited Uses" box. If you just don't want to limit one single location for example but limit others, then you can just enter a number like 999 in that location.

In the "##" column will appear the amount of times the respective location has been already used.

Clicking "Reset Gate" will reset the gate in order to be used again by players (In case you want to restart it because all locations have already been used for example).

Clicking "Restore Defaults" will clean up every Location and other kind of settings, working the same as if you added a totally new gate.

Clicking "Apply Changes" will apply the current settings as well as reset the gate for use.

For the gate to work properly you don't need to enter every location, nor you need to enter them by any order. This means that you can just select Location 2 and 13 for example and leave everything else empty that the gate will still be working as intended.

Lets see an example:

[Image: image.jpg]

As you can see in the above picture I've picked two locations (3 and 6) and set each one of them to be used a maximum of 4 times ("#" column).

Since the Location 3 has already been used 3 times and the Location 6 has already been used 2 times and the "Unlimited Uses" box is not checked, the gate will still be available for use 3 more times: One for Location 3 and Two for Location 6. After that players won't be able to walk through it anymore. By then, I can just click "Reset Gate" and players will be able to walk through it again for another 8 times (4 to Location 3, 4 to Location 6).

If I check the "Unlimited Uses" box players will be able to walk through the gate forever and be teleported to one of the two locations, randomly.

The DIALOG currently has only 2 pages (16 locations) but you are free to add more pages following the same script logic and it will still work just fine.

You can also adapt the script to your needs, stoning players after being teleported for example, or shouting some sort of message, or add or remove an item player has, anything.

The basics of this script is the random teleportation with a lot of possibilities, everything else is up to you. As for myself, I found it useful while hosting random teams events. Just set 2 Locations (One for each team side if you want to have 2 teams), set the maximum amount of times you want each location to be used to half the players that are gonna use the gate (So the teams are even) and just let the players walk through it.

Hope I was clear enough explaining it.


RE: [ITEM] Random Teleportation Gate - Mordaunt - 08-30-2015 11:17 PM

You should publish these in downloads. That way you get your own "section" and it keeps all your scripts together Wink


RE: [ITEM] Random Teleportation Gate - pointhz - 08-31-2015 12:31 AM

How does the download section exactly work? It looks like a bit of a mess.

Anyway, isnt that section complementary to this one? Isnt it ok to post in here, explain the scripts and stuff like that ,and then also upload them there?


RE: [ITEM] Random Teleportation Gate - Mordaunt - 09-01-2015 01:34 AM

I tend to put them in there, and then add a link to there when i post in the forums.
Simply go to the downloads section and scripts, then scroll down you will see "my file manager" under the categories menu.

It's self explanatory after that


RE: [ITEM] Random Teleportation Gate - gaddarkhalin - 10-25-2015 09:23 PM

scp beautiful hand health


RE: [ITEM] Random Teleportation Gate - Lincoln - 10-27-2016 01:33 AM

Love your scripts, thanks PointHZ


RE: [ITEM] Random Teleportation Gate - ralentra - 10-23-2017 05:45 AM

I can't download )(


RE: [ITEM] Random Teleportation Gate - Leonidas - 10-23-2017 09:34 AM

I think you need a certain amount of posts to download stuff. I uploaded it for you

http://www.filedropper.com/prandomizergate


RE: [ITEM] Random Teleportation Gate - chrono - 01-18-2022 07:01 PM

how can i download this one?


RE: [ITEM] Random Teleportation Gate - golfin - 01-19-2022 04:46 PM

Download: https://forum.spherecommunity.net/attachment.php?aid=302

But otherwise, this script can normally be downloaded from the attachment from the first post.


This forum uses Lukasz Tkacz MyBB addons.