Game Development Community

Gui helptag - how to configure

by Stephen Hagyard · in Torque Game Engine · 06/18/2003 (11:16 am) · 4 replies

How does this function work - it's not text based, I think that there is some index attached so that you pass it a number that points to a file/array/list but I can't trace it and I can't find any examples that show it.

Anybody used it and can tell me what it does and how to make it work?

Thanks in advance

I have traced it to a hash class StringTable but can't find how to create it.

#1
06/18/2003 (11:24 am)
Last I knew, help tag is not actually used at all. This used to be a popup/tooltip type system that probably got ripped out when we had to re-write the GUI, as that was something Sierra wanted ripped out of Torque.

You will need to re-implement this yourself. I would put the code in GuiObject and basically, if the cursor is within your control and hasn't moved for a few seconds, use dgl to draw a box and put text in it. The helpTag variable itself you can use if you want. I have a feeling this was in place for localization purposes.
#2
06/20/2003 (9:57 am)
I think this might have actually been legacy left over from Tribes 1... whee!
#3
06/20/2003 (12:00 pm)
@Mark: lol! ... that's hilarious :)
There were no tooltips on tribes2 either?
#4
06/23/2003 (4:46 pm)
Thanks - I thought that it might not be connected as I couldn't see any connection to put text into the # table.

In the examples I have seen the helptag is set to 0. I guess that most folks are just being cautious, or it is a leftover from days of yore.