var/list/L = params2list(world.GetMedal()) |
Doesn't work, sadly. How would I go about doing this?
ID:273519
Jul 15 2010, 11:48 am (Edited on Jul 15 2010, 12:21 pm)
|
||
Trying to remove the medal from everyone that's earned it.
Doesn't work, sadly. How would I go about doing this? | ||
Look again.
He's giving you that workaround because there's no built-in way to get a list of all the players who have medals. You could parse the hub entry or the medal management page to manually get such a list, though. | |
Guess I'll just wait for when/if a proc is added or changed to do it. Not really a big deal.
Thanks anyway. | |
I was bored so I did the parsing on the medals page:
This will erase all the entries for the Stuck in a Loop medal (and made it so it can easily be edited to erase other medals). This is essentially a plug-and-play snippet, enjoy ^_^ I'm sure it could be improved but it works, or at least it does when I tried it... | ||
(If you are thinking about making a feature request about retrieving a list of players who earned a specific medal, don't. It has been suggested before: http://www.byond.com/members/ DreamMakers?command=view_tracker_issue&tracker_issue=1399 - though I would love to see it like the format presented, the issue caused is understandable).