Each of is an arena.
Point me in the right direction on how to make it so a person cannot enter an arena that is in use.
I have been trying
for(var/mob/m in world)
if(m.z==2)
etc.
but I think im going about it all wrong.
please help
note:
[02:40:27] Audeuro: You should have a datum representing an arena.
[02:40:45] Audeuro: Which will then have all of the arena-related functionality
[02:41:08] Audeuro: Then a list with the Z-level as the index and the /arena as the value.
[02:41:22] Audeuro: Then you simply check the /arena to see if it's in use.