Blockland Forums > Suggestions & Requests

Event - onSpawnPlayer

Pages: << < (2/3) > >>

boodals 2:


--- Quote from: Port on January 03, 2014, 04:33:30 AM ---What stops you from using onPlayerTouch and having spawns in unreachable places?

--- End quote ---
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.

Port:


--- Quote from: boodals 2 on January 03, 2014, 09:35:35 AM ---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.

--- End quote ---

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

Greek2me:

This was one of my first coding projects:

http://forum.returntoblockland.com/dlm/viewFile.php?id=2801

SWAT One:


--- Quote from: Greek2me on January 03, 2014, 11:14:16 AM ---This was one of my first coding projects:

http://forum.returntoblockland.com/dlm/viewFile.php?id=2801

--- End quote ---
No, it's very specific to the spawn brick on which one spawns.  This is minigame-wide detection.


--- Quote from: Port on January 03, 2014, 09:48:02 AM ---It's 2.5 seconds. And besides, an onSpawnPlayer event would have the same restriction - otherwise you're just completely bypassing the point.

--- End quote ---
Is there some hacky way of bypassing it?  I literally only want it for announcing a player's location.

Hawt:

onPlayerFirstTouch?

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

Pages: << < (2/3) > >>

Go to full version