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.

Topics - chainsaw|clausen

Pages: [1]
1
Technical forum / Scene.DisableNode3D doesn't work
« on: May 07, 2011, 01:10:37 AM »
Hi everyone,

I work since one year with the Wintermute Engine in my spare time and it's awesome.

But now my problem. Just imagine a simple scene with a floor (split in two parts - red and green colored)
and a box(stands on the green colored floor part). There is an rendered image for the background and
a .3ds file (with a camera and two walkplanes for the two floor parts named "walk_red" and "walk_green".
For the box is a simple region entity created in the Scene-Editor and a script named box.script that looks like this:


on "RightClick"
{
  actor.GoToObject(this)
  Game.Interactive = false;
  Scene.DisableNode3D("walk_red");
  actor.Talk("Awesome.");
  Game.Interactive = true;


If the scene was started, the actor can walk around the whole floor but if I rightclick the box, the red
colored floor part should be disabled and he can only walk on the green part. The Problem is... it doesn't
work and I don't no why. I tried to change the DisableNode3D name to "red" but that's has no effekt.
The actor goes to the box and says "awesome." but the red part is still enabled. Any ideas?

Pages: [1]

Page created in 0.016 seconds with 22 queries.