Hi Scraggle and blink0k,
thanks for the ideas.
Scraggle I am aware of that function. GetImageExists() tells me if an image has already been loaded into the system.
But what I'm trying to do is to load an image and see if it exists at all (e.g. LoadImage("example.png")) and then catch the error message manually if it doesn't exist.
blink0k, I would like an internal GetErrorMode command so I can reset it to whatever mode it was in the beginning.
For my
fully automated animation functions I would like to be able to simply get whatever error mode the game is currently on, then set the mode to 0, and once the loading process is finished set the mode back to what it was before.
I would like anyone and myself to be able to use the animation functions without having to play around with the error mode at all.
So if I create a custom function like yours', everyone would have to use that funtion once in the beginning so I have that mode saved, which is suboptimal. I'd like it to be all automatic.
Edit: Forget about the second part of my request. You can set error modes multiple times. I somehow didn't test it right sorry.