Wintermute Engine Forum
Wintermute Engine => Technical forum => Topic started by: Akatosh on March 23, 2010, 01:35:20 PM
-
Hello everyone,
As this is my first post, I would like to start by congratulating the fine team that made Wintermute. It's truly superb.
I would like to ask if there is any Exception Handling available on Wintermute.
I have searched the forums and the online Documentation but I didn't see anything.
I'm asking this because I want to make the player type the scene and/or an inventory item, for example, to acess/get it.
If there is no such scene/item when prompted, it says "Error script" in game and "Fatal Error" on wme.log
I tried making a try catch method, but the game doesn't recognize.
If I was to detect that error, in some kind of handler, I could avoid possible crashes and that evil message on screen.
-
Unfortunately there's no exception system (or any other global error handling system) in WME script.
-
Hum, so there's any way to detect the script gave error ? I don't need it to have a specific error.
Oh well. Thanks for the quick reply :)
Good day.