Author Topic: What does this command do? :>  (Read 4576 times)

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
What does this command do? :>
« on: January 12, 2011, 06:48:55 PM »
Code: [Select]
Globals.P.ToolTipWait (float)
Globals.P.ToolTipWaitUI (float)

I was thinking they would govern the amount of time you have to mouse-over an asteroid or a part of the information bar (respectively) before a tooltip appears.  But it doesn't seem to affect that at all.
I tried using values 1, 0.0001, and 1000.  The time seems the same for all of them, the level still loads though and there is no error message so it seems to be changing something...

What do these commands do? :>  Anyone know?

Alex

  • Administrator
  • Ent
  • *****
  • Thank You
  • -Given: 3
  • -Receive: 14
  • Posts: 1,035
Re: What does this command do? :>
« Reply #1 on: January 12, 2011, 07:18:50 PM »
ToolTipWait: I think this is the asteroid tooltips, yeah. Maybe it doesn't work. Does changing it in the options menu work? It might only have an effect when changed from there...
ToolTipWaitUI: The tooltips are when you see when you hover over part of the UI (some parts don't have a tooltip). e.g. hover over part of the info bar and it will tell you what it does.

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: What does this command do? :>
« Reply #2 on: January 12, 2011, 07:20:42 PM »
Hmm, I didn't see any method to change it in the options menu.  Maybe I'm just being blind??
At work now so can't really check..

Bonobo

  • Achiever
  • Old Oak
  • ****
  • Thank You
  • -Given: 139
  • -Receive: 12
  • Posts: 670
  • Eufloria: Yes
Re: What does this command do? :>
« Reply #3 on: January 12, 2011, 08:20:01 PM »
The first two sliders in options, IIRC.

BTW I’ve found that both tooltips frequently set themselves back to zero. Mentioned it somewhere else, then forgot about it.

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: What does this command do? :>
« Reply #4 on: January 12, 2011, 09:14:01 PM »
Ok I sneaked an opportunity to try this again (it's lunch hour) and confirmed that this is bugged.

I realised that setting the variable to 0 is what disables it in the Options menu, so it should disable it completely with the command too.
I tried it, and sure enough, setting the tooltip wait times to 0 meant that asteroid tooltips are now disabled.
However, only asteroids belonging to an empire other than empire 1 are affected.  Player asteroids still display tooltips.
In addition, the UI continues to display tooltips according to whatever behaviour is set in the options menu.  It seems like the UI wait time command didn't have any effect at all.


Is it possible to change this with a wuwei import of some kind?  It will be a bit of a downer otherwise - I would need to specify in the post with the level that it's recommended to turn it off.  Not turning it off leaves my new level with popups appearing every time you issue an order.

It's a minor point I guess but would still be cool to find a way to fix it.. :>

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: What does this command do? :>
« Reply #5 on: January 12, 2011, 10:16:34 PM »
PS - the sliders in the options menu work as intended.  Seems like it's just the commands that are bugged.

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
Re: What does this command do? :>
« Reply #6 on: January 13, 2011, 12:03:55 AM »
Quote from: The scripting reference
Program vars - try not to change these yourself :)
Globals.P.ToolTipWait (float)
Globals.P.ToolTipWaitUI (float)
Globals.P.AutoHide (int)
Globals.P.FullScreen (int)
Globals.P.SeenHelp (int)
Globals.P.FontSize (float)
Globals.P.BGFade (float)
Globals.P.PlayerColour  (int)

You can set LeafColour or whatever it was you were messing with a while back to equal whatever you want, but it has no effect, either. I think that might be the case here too.