Games
Developers
Forums
More
BYOND
Download
Developer Guide
Developer Reference
Support
Terms of Service
Membership
Contact Us
Many features on this site require JavaScript. Please enable JavaScript support in your browser.
Register
Login
BYOND Forums
Announcements
·
BYOND Help
·
Bug Reports
·
Feature Requests
·
Beta Testers
·
Beta Bugs
·
Developer Help
·
Design Philosophy
·
Demos & Libraries
·
Tutorials & Snippets
·
Art & Sound
·
Classified Ads
·
Game Updates
·
Contests & Events
·
Linux Talk
·
On Topic
·
Off Topic
Checking all players even if they are offline..
[Tips]
ID:174891
Jul 9 2003, 7:56 pm
Koolguy900095
How do I make it so when somebody disbands a guild that it checks all the mobs with the same guild even if they are offline?
Jul 9 2003, 8:09 pm
Super16
mob/var/guildlist = list()
mob/verb/Add(mob/M as mob in world)
guildlist += M
mob/verb/Check()
for(var/mob/M in guildlist)
src << M
That's a way to show you how to loop through list and add to it.
Jul 9 2003, 8:11 pm
In response to
Super16
Koolguy900095
oh yeah i cant believe i forgot about lists O.0 (Even though i use them to store my guilds...)
Copyright © 2025 BYOND Software. All rights reserved.
mob/verb/Add(mob/M as mob in world)
guildlist += M
mob/verb/Check()
for(var/mob/M in guildlist)
src << M
That's a way to show you how to loop through list and add to it.