Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Author Topic: Possible blocked region bug  (Read 7159 times)

0 Members and 1 Guest are viewing this topic.

obleo

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
  • Hail to the King baby!
    • View Profile
Possible blocked region bug
« on: March 11, 2003, 01:24:59 PM »

It seems I am unable to toggle the Active state of a blocked region at runtime.  The Active state seems to always stay at whatever value it is set to in SceneEdit.

Thanks!
Logged

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 690
    • View Profile
Re:Possible blocked region bug
« Reply #1 on: March 11, 2003, 04:46:11 PM »

Hm, this seems to work:

Code: [Select]
 var blockedDeskRegion = Scene.GetNode("block_desk");
  blockedDeskRegion.Blocked = false;

Trying the same with "blockedDeskRegion.Active = false;" does not work as expected, that's right...
Logged
Mooh!

obleo

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
  • Hail to the King baby!
    • View Profile
Re:Possible blocked region bug
« Reply #2 on: March 11, 2003, 07:51:16 PM »

Sure enough!  Using .Blocked instead of .Active did the trick.  I wasen't aware of the .Blocked attribute.

Thanks Jerrot!
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re:Possible blocked region bug
« Reply #3 on: March 11, 2003, 07:54:32 PM »

Oops, thanks guys. It was a bug, the .Active attribute should work as well. I have just uploaded a fixed version of WME.

http://www.dead-code.org/forum/index.php?board=2;action=display;threadid=63;start=0;boardseen=1
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 690
    • View Profile
Re:Possible blocked region bug
« Reply #4 on: March 11, 2003, 08:17:47 PM »

Oops, thanks guys. It was a bug, the .Active attribute should work as well. I have just uploaded a fixed version of WME.
I admire you for these fast updates. In my job, I waited months and years for problem solutions that were much simpler than these.  :)

Just tested the new release, it works fine now!
Logged
Mooh!

obleo

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
  • Hail to the King baby!
    • View Profile
Re:Possible blocked region bug
« Reply #5 on: March 11, 2003, 09:15:53 PM »

All is right again in the world  ;D

WME Rocks!
Logged

Scarpia

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 77
  • Rich kid trash web designer :-P
    • View Profile
    • junk dot dk
Re:Possible blocked region bug
« Reply #6 on: March 11, 2003, 10:08:06 PM »

All is right again in the world  ;D

WME Rocks!

No way! There's Something Rotten in the State of Denmark. Trust me.


Scarpia
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re:Possible blocked region bug
« Reply #7 on: March 12, 2003, 09:03:41 AM »

Yeah, Scarpia and Hamlet must know that  ;D
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.033 seconds with 19 queries.