Die in Pit and Reload not working


  • Posts: 5
Hello there, I'm pretty new to this so the behaviours are all a bit confusing to me.. basically I've used the behaviours from the Crash Course Kit and a couple I downloaded from Stencylforge.. They all work fine except the Die in Pit and Reload behaviour which generates an Actionscript error when my Player dies:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
   at com.stencyl::Engine/cameraFollow()[/Users/dj/Downloads/Stencyl-full/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2879]
   at MethodInfo-3974()[Source/scripts/SceneEvents_0.hx:59]
   at com.stencyl::Engine$/invokeListeners2()[/Users/dj/Downloads/Stencyl-full/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:3853]
   at com.stencyl::Engine/update()[/Users/dj/Downloads/Stencyl-full/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2297]
   at com.stencyl::Engine/postUpdate()[/Users/dj/Downloads/Stencyl-full/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2585]
   at com.stencyl::Engine/onUpdate()[/Users/dj/Downloads/Stencyl-full/plaf/haxe/lib/stencyl/1,00/com/stencyl/Engine.hx:2561]

It gives me an option to Dismiss All or Continue, each option giving the same result that the game reloads, but this time the Player is locked into a forward motion so you cant control him. I've attached a Screenshot of the behaviour that I'm using.

Any help greatly appreciated... thanks!