Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Author Topic: Scene.DisableNode3D doesn't work  (Read 2227 times)

0 Members and 1 Guest are viewing this topic.

chainsaw|clausen

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 1
    • View Profile
    • chainsaw|clausen
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?
Logged
 

Page created in 0.05 seconds with 23 queries.