What is a helptip?

Discussion of Lua and LuaWML support, development, and ideas.

Moderator: Forum Moderators

Post Reply
white_haired_uncle
Posts: 1203
Joined: August 26th, 2018, 11:46 pm
Location: A country place, far outside the Wire

What is a helptip?

Post by white_haired_uncle »

I see the line in every dialog, but what is it? I can't find an example of it being used, and when I tried I got an invalid property of widget.
Speak softly, and carry Doombringer.
Soliton
Site Administrator
Posts: 1688
Joined: April 5th, 2005, 3:25 pm
Location: #wesnoth-mp

Re: What is a helptip?

Post by Soliton »

Put

Code: Select all

help = _ "my helptip"
next to tooltip and then the tooltip will be extended with "(Press 'f10' for more information)" (or whatever helptip hotkey you set) and if you press F10 then the helptip will be displayed instead of the tooltip.

Why is the key name help and not helptip? Who knows...
"If gameplay requires it, they can be made to live on Venus." -- scott
Post Reply