I am using the irrlicht mod. I tried adding a float value to a variable but get the error "Unhandled Exception:Unhandled Memory Exception Error".
The problem is "AniFr:Float".
The problem is "AniFr:Float".
Global AniFr:Float = 1 'Next Frame 'Render loop While( device.run()) If ( device.isWindowActive()) 'Initiate Device Vid.beginScene( True, True, SColor.createFromVals( 255, 0, 0, 0 )) 'Update Animation If AniFr < 1 AniFr = AniFr + Double( 24 / FPS ) Else AniFr = AniFr - 1 End If