Author Topic: Event - onSpawnPlayer  (Read 619 times)

I had an event add-on in the past though that was triggered when a player spawned on a brick.  It would only be called when the event was applied to the same brick on which the player spawned.  After searching through my computer and the forums for the greater part of an hour, I couldn't find it.  If anyone has this, or if anyone could whip up a new one, that would be fantastic.

Thank you for reading.

I used to have it, it was very useful too

Too bad it isn't there anymore :c

Was it CRC'd or something?  It could have also been named something really odd and I can't find it because of that.

What stops you from using onPlayerTouch and having spawns in unreachable places?

I'm scattering Slayer spawns around the map and I want it to say "You have spawned at %location%."

What stops you from using onPlayerTouch and having spawns in unreachable places?
The player is immune to onPlayerTouch events for 3 or 5 seconds after spawning. Theres a global variable to change it, but thats what add-ons are for, to stop the need to go into the console every 3 seconds.

The player is immune to onPlayerTouch events for 3 or 5 seconds after spawning. Theres a global variable to change it, but thats what add-ons are for, to stop the need to go into the console every 3 seconds.

It's 2.5 seconds. And besides, an onSpawnPlayer event would have the same restriction - otherwise you're just completely bypassing the point.


This was one of my first coding projects:

http://forum.returntoblockland.com/dlm/viewFile.php?id=2801
No, it's very specific to the spawn brick on which one spawns.  This is minigame-wide detection.

It's 2.5 seconds. And besides, an onSpawnPlayer event would have the same restriction - otherwise you're just completely bypassing the point.
Is there some hacky way of bypassing it?  I literally only want it for announcing a player's location.

onPlayerFirstTouch?

Though it would trigger every single time someone steps on it the first time

onplayertouch + VCE?
set a spawned variable to the player and give them the message

Maybe if I remove the 5000 ms delay on VCE, I can set a location variable and say the event on a client message.

Or use zone plates, idk I do that sometimes