philat wrote: ↑Fri Mar 08, 2019 3:44 am
...yeah I know what it does. The point is OP asked for a straight image not a button. I meant that they should try adding it to a style and not like an atl transform property directly in screen language.
Gave it a try, nothing happens. Also, how do you give multiple images different alts without using a new style each?
Either I was doing it wrong, or it isn't meant to be used like that.
This is how I normally use it:
Code: Select all
imagebutton:
auto "gui/buttons/save_%s.png"
action ShowMenu("save")
tooltip "Save your progress"
alt "save your progress"
The documentation appears to support this way of use as it says it is a position style property and can be used the same way as position styles, such as as part of a block, or inline.
Its strange to be in position style properties, but note that it is not in text style properties.
So my suggestion is just:
Code: Select all
screen result():
imagebutton:
idle "images/great.png"
hover "images/great.png"
action NullAction
alt "great"