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?
ID:155069
![]() Sep 28 2011, 10:32 am
|
|
Ocean King wrote:
http://www.byond.com/games/GameOwner/GameHubPath?format=text 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. |
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()