Be a Supporter!

Browse Sections

Newgrounds Wiki: FILE_REQUESTED

This event is fired when a user has select a save file to load from outside of your game.


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

    • save_id:Number - The numeric ID of the file being requested
    • group:SaveGroup - The SaveGroup the file belongs to.