I've been making double versions of images for on-hovers with a border, to show that they're special in some way. While that works just fine - especially for permanent things like an inventory button - in the long run it's going to make for quite a lot of extra size when the project is bundled. Would it be possible to create a style for these special kind of image buttons the way that one can for text, and create an outline around it similar to a focus mask, only visible?
I've not had to work with style properties much other than basic size and placement on a case by case basis, so I wouldn't know how to stick that in nor where that kind of code would go (GUI? Script? Screens?) My buttons exist on a modal screen, so the most basic version looks like this:
Code: Select all
imagebutton: #laptop idle "images/obj_laptop.png" xpos 900 ypos 180 focus_mask True action [Hide("loc_cmid"),Jump("desc_laptop")]