l2howto Posted January 9, 2013 Posted January 9, 2013 Hello. i want some button change its layout when you go over it with your mouse. for now it just work by clicking the button (the button is brighter) <button value="Soulshots" action="bypass -h npc_%objectId%_multisell 108" width=278 height=21 back="owntexture.own_button_down" fore="owntexture.own_button"> hnow its just changing its layout when i click it. but how does it work when i just go over it?
0 Setekh Posted January 9, 2013 Posted January 9, 2013 You cannot do that in that code, the client knows what hover texture to get, try unpacking with umodel L2CH3_UI.utx and you will see what i mean, the client will automatically take the needed texture from it's asset parent. Its pure asset management here, u need to specify the "down"(the clicked) texture and the fore which is the normal foreground button texture. You will need to make a _over texture and add it in the utx pack.
0 Setekh Posted January 9, 2013 Posted January 9, 2013 With plesure, if u have more issues pm me and ill unlock the topic
Question
l2howto
Hello.
i want some button change its layout when you go over it with your mouse. for now it just work by clicking the button (the button is brighter)
hnow its just changing its layout when i click it. but how does it work when i just go over it?
3 answers to this question
Recommended Posts