ID:156732
![]() Aug 6 2010, 10:51 am
|
|
I want to create some procedures that will drop a player in a WAITLIST. They'd sit in the WAITLIST until a space becomes available in the ACTIVE GAME, at which point they are dropped into gameplay at a specific LOCATION. But I don't know how to create a list, and then have the engine pull their character from the wait list when their turn comes up. Help!
|
Copyright © 2025 BYOND Software.
All rights reserved.
This is the reference for lists:
http://www.byond.com/ members/?command=reference&path=list#comment_1
You could store a persons' name or key in a list. Then when it is available, you remove them from the list, add them to another list, then set their loc.
Location:
http://www.byond.com/members/?command=reference&path=atom/ var/loc#comment_1
Lummox JR's Associative list tutorial:
http://www.byond.com/members/ DreamMakers?command=view_post&post=32170
No problem, just post here again with a copy of what you have if you would like more help.