Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: Particle Emitter "undefined method"  (Read 2143 times)

0 Members and 1 Guest are viewing this topic.

Kaz

  • Arberth Studios
  • Regular poster
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 228
  • The story is the game
    • View Profile
    • Info on 'Rhiannon' & 'Coven'
Particle Emitter "undefined method"
« 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:
Code: [Select]
////////////////////////////////////////////////////////////////////////////////
// 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
« Last Edit: July 02, 2009, 03:56:52 PM by Kaz »
Logged
\"Fans of popular horror adventures like Scratches and Barrow Hill should start bracing themselves for another haunting experience, as independent developer Arberth Studios has announced production on its debut title Rhiannon - Curse of the Four Branches.\" - AdventureGamers.com
 

Page created in 0.056 seconds with 24 queries.