Hey everyone!
Iam making a card game and for now a lot of illustrations are missing. Can I somehow detect if the image/flipbook was set correctly or it has failed?
Cards are in GUI, so I use gui.play_flipbook.
Thank you!
Hey everyone!
Iam making a card game and for now a lot of illustrations are missing. Can I somehow detect if the image/flipbook was set correctly or it has failed?
Cards are in GUI, so I use gui.play_flipbook.
Thank you!
You can catch the Lua error in a pcall and then handle any error.
Oh. Thanks, Mathias! Got it. I saw someone mentioned pcall in other topic, just thought it wasn’t my case.