ID:155069
 
I've been wondering.. Is there a possible way to retrieve a medals description from the hub onto a game?

What I currently have is a "Medal Unlocked" interface and I have it so the title automatically sets to the medals name but I'm unsure how to automatically set the description to the medals description.

Is this possible?
http://www.byond.com/games/GameOwner/GameHubPath?format=text

With that you get all the HUB in text format. Medals are listed as medal/1, medal/2, medal/3, medal/4.

Change GameOwner for the Owner of the Game and GameHubPath for the HUB Path.

Using world.Export()
In response to Ocean King (#1)
Ocean King wrote:
http://www.byond.com/games/GameOwner/GameHubPath?format=text

With that you get all the HUB in text format. Medals are listed as medal/1, medal/2, medal/3, medal/4.

Change GameOwner for the Owner of the Game and GameHubPath for the HUB Path.

Using world.Export()

Hmm this is interesting, never knew about world.Export(). Does this take time, is it done instantly or what?

I've already refrained from automatically updating medals on my projects hub because it pauses every other ongoing proc for like 5 seconds. Instead, I'm having medals as a list on my game, and a menu button that allows you to upload those medals to the hub so it doesn't interfere with gameplay.
In response to AbdelJN (#2)
Well the format?text of the game is instantly update (May take from 4 to 6 seconds).
World Export may take some seconds, well that vary.