10
« on: April 04, 2014, 03:54:49 pm »
When i use:
Replace item #(0) with ((0) as number) in (helper_list), I get Error
funny thing is when I use
Replace item #(1) with ((0) as number) in (helper_list), everything works...
Any reason why 0 doesn't work?
Error:
TypeError: Error #1034: Type Coercion failed: cannot convert 0 to Array.
at MethodInfo-3671()[Source/scripts/Design_1_1_load.hx:209]
at com.stencyl::Engine$/invokeListeners4()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/Engine.hx:3907]
at com.stencyl::Engine/draw()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/Engine.hx:3072]
at com.stencyl::Engine/postUpdate()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/Engine.hx:2644]
at com.stencyl::Engine/onUpdate()[C:\Program Files (x86)\Stencyl\plaf\haxe\lib/stencyl/1,00/com/stencyl/Engine.hx:2578]