Author Topic: Calling a script, and my menu disappears  (Read 2607 times)

0 Members and 1 Guest are viewing this topic.

Offline SuperslayerTopic starter

  • Elite
  • *
  • *
  • Posts: 1006
  • Activity:
    0%
  • Reputation Power: 14
  • Superslayer barely matters.Superslayer barely matters.
  • Gender: Male
  • Well what do you drink? Not tea.
  • Respect: +43
  • Referrals: 0
    • View Profile
Calling a script, and my menu disappears
« on: February 01, 2009, 10:01:14 AM »
0
Well, like in the title, I have a script that uses a menu and remains up until you're done running it and whatnot.  However, when I call another script, my menu disappears and the called scripts' menu shows up.  That good and bad.  I need both script menus up. I'm calling the TM_IDOC_locator16 script and it'd be great to have them both running and both showing their menu.  It's quite essential to my script.  Is there a way for this to happen?  What kind of changes are/would be needed?

There will probably be at least 2 more called scripts not including the idoc locater that will have menu's, and those too will be very necessary to have open along with my own.

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: Calling a script, and my menu disappears
« Reply #1 on: February 01, 2009, 10:14:56 AM »
0
That's the problem with EUO.  You can only have one active UI per script tab.  You can have multiple UIs in your code, but you have to actually re-create it each time you want to display it.  Actually, I have the provisions in SUO for many active UI windows.  :)
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline SuperslayerTopic starter

  • Elite
  • *
  • *
  • Posts: 1006
  • Activity:
    0%
  • Reputation Power: 14
  • Superslayer barely matters.Superslayer barely matters.
  • Gender: Male
  • Well what do you drink? Not tea.
  • Respect: +43
  • Referrals: 0
    • View Profile
Re: Calling a script, and my menu disappears
« Reply #2 on: February 01, 2009, 10:17:44 AM »
0
That's beautiful to know TM.  Even more reason for me to love this site.  However,...ACK!! now I gotta work on parts of my script that I know I'm gonna dread !!  Hehe,..that's ok, needs to be done :P :D :o ::) :-\

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: Calling a script, and my menu disappears
« Reply #3 on: February 01, 2009, 10:50:25 AM »
0
That's one of those scripts I was going to put together is a framework that will manage multiple menus for you.  Just have too many projects... ;)
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline SuperslayerTopic starter

  • Elite
  • *
  • *
  • Posts: 1006
  • Activity:
    0%
  • Reputation Power: 14
  • Superslayer barely matters.Superslayer barely matters.
  • Gender: Male
  • Well what do you drink? Not tea.
  • Respect: +43
  • Referrals: 0
    • View Profile
Re: Calling a script, and my menu disappears
« Reply #4 on: February 01, 2009, 10:52:12 AM »
0
*plus one Karma for TrailMyx*

Tags: