Legacy GM How do I prompt the user to select a file from their computer?

O

Olivebates

Guest
Hello,

So I need to be able to let the player choose a .png from his computer, so I can set it as the room background. How do I do this?

Thanks <3
 

Yal

šŸ§ *penguin noises*
GMC Elder
First use get_open_filename() to get a reference to the file (the full path to it and permission to read it), then use background_add() to create a background by loading that file... and then you can change the room's background to the newly created one.
 
Top