Author Topic: Event - OnSpawn, only works on spawn bricks and when a player spawns on them  (Read 781 times)

I really need this for an upcoming deathmatch I wish to make, also if it could check for a minigame before doing the event and if its placed on the minigame owners brick to prevent abuse

You could do it pretty easily with playertouch and toggle events, probably. Might need some variables to determine who's stepped on the spawn and who hasn't but it wouldn't be the most difficult thing in the world.


Wait a minute, of all things, why was the global version of this event made first?

So you want it like this, but you want it to be per-brick?
http://forum.returntoblockland.com/dlm/viewFile.php?id=2801
well I want it to be spawn-specific

certain spawns doing different things to the player

this would also be extremely useful to anyone wishing to make an rpg-ish gamemode with variables and a relay loop
« Last Edit: July 06, 2012, 12:31:49 PM by Conservative »

well I want it to be spawn-specific

certain spawns doing different things to the player

this would also be extremely useful to anyone wishing to make an rpg-ish gamemode with variables and a relay loop
there is no surefire way to do this, i think

Wait a minute, of all things, why was the global version of this event made first?
Because the global one is packaging one function to call an event on a set of bricks

And the per-brick one is packaging one function to use a small box search or raycast to find a spawn brick if one exists and call it on that brick

I'm going to try to add this into my personal spawn brick which you may find on RTB.

Because the global one is packaging one function to call an event on a set of bricks

And the per-brick one is packaging one function to use a small box search or raycast to find a spawn brick if one exists and call it on that brick

I'm going to try to add this into my personal spawn brick which you may find on RTB.
has to work with regular spawns too, personal spawn would require the player to plant a brick of his own with the event first no?

has to work with regular spawns too, personal spawn would require the player to plant a brick of his own with the event first no?
It already had it on personal spawns (and checkpoints)

Now it has it on ordinary spawn bricks too, someone's just gotta approve it but I'm pretty sure you can download it now
I only did some basic testing so if it bugs out call the police

so if it bugs out call the police
WOOWOOWOOWOO
OPEN UP POLICE MOD BUG DETECTED IN THE VICINITY WE KNOW YOU'RE IN THERE COME OUT WITH YOUR HANDS UP
WOOWOOWOOWOO

WOOWOOWOOWOO
OPEN UP POLICE MOD BUG DETECTED IN THE VICINITY WE KNOW YOU'RE IN THERE COME OUT WITH YOUR HANDS UP
WOOWOOWOOWOO



somehow it's really easy to imagine someone banging on a door just shouting that at out at some poor programmer

somehow it's really easy to imagine someone banging on a door just shouting that at out at some poor programmer
oh god that would just be the best