Unhandled Exception
- This topic has 3 replies, 2 voices, and was last updated 11 years ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.
Home › Forums › TimelineFX Module › Unhandled Exception
Ok, just playing around with this library.
I downloaded Environment.eff and I tried to run in my bmax code the Rain 1 effect.
I used the code found here:
http://www.rigzsoft.co.uk/a-simple-program-in-blitzmax-with-timelinefx/
and I just changed the names:
Local MyEffectsLib:tlEffectsLibrary = LoadEffects("Environment.eff")
Local MyEffect:tlEffect = MyEffectsLib.GetEffect("Rain 1")
the result is:
Unhandled Exception:Attempt to access field or method of Null object
also I am still waiting for the activation key 🙂
fixed the error. i had to write: “Rain/Rain 1”
Ok glad you sorted it, yes you need to include the folder name if that’s where the effect is 🙂
You must be logged in to reply to this topic.