Author Topic: Regions  (Read 6971 times)

DOWNLOAD

Old Versions:
Regions V1

Regions is effectively the exact same deal as setPlayerTransform, but slightly more of a pain in the ass.
Why would anyone want to use it, then?

It allows the teleportation of multiple players at once.

The events are Player > setRegion (Name), Player > clearRegion, and Brick > shiftRegion [New name, transit time, and shift amount].

The shift amount is an amount in studs, and the directions are North, East, and Up in that order. To shift someone up one brick, use 0 0 3 - which means six bricks and two studs directly up is 0 0 20.


EDIT: I have reformatted the inputs of shiftRegion. However, to preserve old events, the new one is called shiftRegion_V2.

shiftRegion_V2   [Shift amount, transit time, new region name, transit message (leave blank for none.)]
« Last Edit: April 24, 2012, 06:49:15 PM by Xalos »

I did not know setplayertransform could not move multiple players at once...

Brick > shiftRegion [New name, transit time, and shift amount].

does this mean we can move bricks?

I did not know setplayertransform could not move multiple players at once...

does this mean we can move bricks?
If so,
holy crap.

does this mean we can move bricks?
no

it basically takes a player by their position relative to a brick, and teleports them to another brick while still staying at the same relative distance from the new brick

its different from setplayertransform like this:

setplayer transform:

0___                   ______
 |___|    -->        |__0__|

regions:

0___               0____
 |___|    -->      |___|

oh and plus, with regions you can make it move with multiple players

does this mean we can move bricks?

Something which can do this is in the works, somewhere deep within Xalos's brain and/or server...

no

it basically takes a player by their position relative to a brick, and teleports them to another brick while still staying at the same relative distance from the new brick

its different from setplayertransform like this:

setplayer transform:

0___                   ______
 |___|    -->        |__0__|

regions:

0___               0____
 |___|    -->      |___|

oh and plus, with regions you can make it move with multiple players

Oh. Well I guess that could be useful...for people with OCD.

Oh. Well I guess that could be useful...for people with OCD.

Or, you know, trains that don't only teleport one player.

|ABC|   |      |
B: Okay, guys, I'm just gonna click some buttons
*B teleports*
setPlayerTransform: |A  C|   |  B  |
Regions: |      |   |ABC|

I only see abuse if someone sets the region to the size of the bedroom and teleports everyone who was in the bedroom somewhere else, or anyone who spawns be teleported somewhere else, you need to fix this abuse.

I only see abuse if someone sets the region to the size of the bedroom and teleports everyone who was in the bedroom somewhere else, or anyone who spawns be teleported somewhere else, you need to fix this abuse.
Because OnPlayerSpawn->SetPlayerTransform over a instant kill pit isn't abusable.

Blame the people, not the tools.

Because OnPlayerSpawn->SetPlayerTransform over a instant kill pit isn't abusable.

Blame the people, not the tools.
One of the reason's I need a modified version of Setplayertransform thats Admin only.

basically this allows for "big elevators". put 12 people in a 32x32 elevator and this will allow the whole group of people to move "up" and "down" floors at once, without all having to click the teleport button.

Has there been a setvehicletransform yet?

basically this allows for "big elevators". put 12 people in a 32x32 elevator and this will allow the whole group of people to move "up" and "down" floors at once, without all having to click the teleport button.

oh. ok, thanks for that.


One of the reason's I need a modified version of Setplayertransform thats Admin only.
http://forum.blockland.us/index.php?topic=97492.0

also, this is neat. just needs an option to only transport specific teams, datablocks, etc.