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: nested selects  (Read 2295 times)

0 Members and 1 Guest are viewing this topic.

SoundGuy

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 196
    • View Profile
nested selects
« on: December 10, 2006, 07:33:06 AM »

I had two switches nested inside one funcion.

when calling the break; command on outer select i got :

08:27: Fatal: Invalid instruction -557797922 ('scenes\room\scr\jinji_window.script', line 218, IP:0x0)

I had to take the inner switch and put it in a second function and it got cleared.


Oded.


« Last Edit: December 10, 2006, 08:06:17 AM by SoundGuy »
Logged

odnorf

  • w00t?
  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 7
  • Offline Offline
  • Gender: Male
  • Posts: 1456
  • Lamp dog!
    • View Profile
Re: nested selects
« Reply #1 on: December 10, 2006, 08:50:58 AM »

I'll quote Mnemonic from an older answer:

"This is a known bug, nested switch commands don't work well ......... it will require some quite complex changes. For the time being, avoid nested switches and rewrite the inner ones to a series of if's."
Logged
fl*p
 

Page created in 0.027 seconds with 19 queries.