Jump to content
  • 0

[SOLVED][IL]hover button


Question

Posted

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?

3 answers to this question

Recommended Posts

  • 0
Posted

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.

Guest
This topic is now closed to further replies.


×
×
  • Create New...