00:00
00:00

Our goal is for Newgrounds to be ad free for everyone! Become a Supporter today and help make this dream a reality!

Browse Sections

Newgrounds Wiki: MEDAL_UNLOCKED

This event is fired when a medal is unlocked on the server.

APIEvent

This event will be an instance of APIEvent, and contain the following values:
  • type:String - APIEvent.MEDAL_UNLOCKED
  • success:Boolean - True if the medal was unlocked
  • data:Object - Containing the following properties:

    • medal:Medal - The Medal Instance that was unlocked