Wintermute Engine Forum
Wintermute Engine => Technical forum => Topic started by: Kaz on July 02, 2009, 03:26:10 PM
-
FORGET IT - I forgot to attach the particles script to the emitter node SOLVED
I thought I'd copied the example exactly - I even imported the particles folder in toto and cut and pasted the code into my scene_init script, and yet:
////////////////////////////////////////////////////////////////////////////////
// setup scene according to state variables
var Ent = Scene.GetNode("Emitter");
Ent.MakeStarfield();
//15:13:35: Runtime error. Script 'scenes\Room\scr\scene_init.script', line 28
//15:13:35: Call to undefined method 'MakeStarfield'. Ignored.
////////////////////////////////////////////////////////////////////////////////
I thought I understood this stuff, but I'm afraid I can't get past "Duh??" Any thoughts chaps? If I've been a pillock, you can say so, I can take it. :)
Thanks