Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - futurama140

Pages: [1]
1
I know I have no clue what i'm doing, but to be honest the documentation doesn't help me for squat, it's really lacking, and there are almost ZERO resources on the internet for WME. The tutorial tells me nothing about stuff I couldn't figure out by tinkering with the engine. Sorry.

Code: [Select]
#include "scripts\base.inc"

// here comes the stuff which initializes the scene

new_actor.SkipTo(400, 400);
new_actor.Direction = DI_DOWN;
new_actor.Active = true;


////////////////////////////////////////////////////////////////////////////////
// scene state
global Statestarttest;


// default values
if(Statestarttest==null)
{
  Statestarttest.Visited = false;
  // add scene states here
}



////////////////////////////////////////////////////////////////////////////////
// setup scene according to state variables



////////////////////////////////////////////////////////////////////////////////
if(!Statestarttest.Visited)
{
  Statestarttest.Visited = true;

  // this is our first visit in this scene...
}


2
Technical forum / "variable 'new_actor' is referenced but not defined"
« on: January 28, 2017, 09:47:51 AM »
So I have read as much as I can understand of the tutorial, and have imported a background into WME for my first scene. I set the scene as the startup scene, and I get the error "variable 'new_actor' is referenced but not defined" what am i doing wrong?

Pages: [1]

Page created in 0.068 seconds with 24 queries.