@Vincent, above kinds of errors with a red round X icon is an indication of a serious bug inside the engine, not the game (script) itself.
Did this error happen once or it keeps happening at certain point in game? If it keeps happening, have you got a save around that location?
(although the engine version 3.3.4 is rather old now)