is there anyway i can code buttons so i can change the icon based on the icons state instead of needing to make 50 million different icon files for each change to a button? if so how do i do it cause im only aware of doing it via icon files
ID:2221731
Mar 7 2017, 2:35 pm
|
|
Mar 7 2017, 2:53 pm
|
|
What?
|
i mean the winset part i have no idea how to code as a icon state so what do i do?
|
You are over-complicating this.
If you are going to use the BYOND interface, then use it and separate the assets as needed. Alternatively... simply don't use the BYOND interface; use HUDs. |
thing is id rather just goto one icon file then to have to scroll through over 10+ icon files thats why if i can code it to use icon state thatd save me time
|
winset(src,"mywindow.mycontrol","image='[icon(myicon,mystate)]'") Or something along those lines. |
In response to Nadrew
|
|
Doesn't work.
|