Blockland Forums > Suggestions & Requests
Event: Teleport all players to their last spawn
<< < (5/6) > >>
Night Fox:
you're trying to make this way more complicated than it needs to be
Gen. Hothauser:

--- Quote from: Night Fox on October 06, 2013, 10:58:20 PM ---you're trying to make this way more complicated than it needs to be

--- End quote ---

That's all of two different bricks and 11 different lines of events.  Not complicated at all.


Also, OnItemPickup would be a good replacement if you want the player to have access to the item immediately after pickup instead of finding bricks.
Night Fox:

--- Quote from: Gen. Hothauser on October 06, 2013, 11:12:59 PM ---That's all of two different bricks and 11 different lines of events.  Not complicated at all.

Also, OnItemPickup would be a good replacement if you want the player to have access to the item immediately after pickup instead of finding bricks.

--- End quote ---
yes, complicated compared to two incredibly simple lines on each of the bricks
and why are you even saying all this about addItem? they already picked up the item. that's the whole reason he's wanting to respawning them instead of kill them
DrenDran:

--- Quote from: TristanLuigi on October 06, 2013, 10:21:56 PM ---Pain in the ass, especially if you have a lot of spawns.

--- End quote ---
Name them all the same thing, only do the relays on one other brick.
boodals 2:
[ 0][X][  0  ] onPlayerSpawn > Self > FireRelay
[ 1][X][30000] onRelay >       Self > FireRelay
[ 2][ ][  0  ] onRelay >       Self > ToggleEventEnabled > 2 3
[ 3][ ][  0  ] onRelay >       Self > ToggleEventEnabled > 3 4
[ 4][ ][  0  ] onRelay >       Self > ToggleEventEnabled > 4 5
[ 5][ ][  0  ] onRelay >       Self > ToggleEventEnabled > 5 6
[ 6][ ][  0  ] onRelay >       Self > ToggleEventEnabled > 6 7
[ 7][ ][  0  ] onRelay >       Self > ToggleEventEnabled > 7 8 9 10
[ 8][ ][  0  ] onRelay >       Self > doWhatever
[ 9][ ][  0  ] onRelay >       Self > ToggleEventEnabled > 2 8 9 10
[10][ ][  0  ] onRelay >       Self > CancelEvents


You would have to use something else to get the player target from the relay, however VCE, SubEvents, and many other events can do this. You can extend this onto as many bricks as you need, and it is more accurate than the VCE timer that is triggered every second.

Edit: Actually, you wont need to get the player target if your using setPlayerTransform. I derp'd.
Navigation
Message Index
Next page
Previous page

Go to full version