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: De-activate floor  (Read 2782 times)

0 Members and 1 Guest are viewing this topic.

fireside

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 211
    • View Profile
De-activate floor
« on: June 16, 2008, 04:05:52 AM »

In an intro, I would like to have the character be placed in a non-floor area and walk out into the legal area.  I tried setting the floor.Active = false, but it doesn't work.  How could I do that?
Logged

metamorphium

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 12
  • Offline Offline
  • Gender: Male
  • Posts: 1511
  • Vampires!
    • View Profile
    • CBE  software s.r.o.
Re: De-activate floor
« Reply #1 on: June 16, 2008, 07:06:39 AM »

Start with having this region there as Active. Then when actor walks into the normal regions call:

var tmp = Scene.GetNode("floor_temp"); // let's say you named the floor like that in scene editor
tmp.Active = false;
Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet
 

Page created in 0.043 seconds with 24 queries.