sjolinder 10 Posted December 4, 2017 Hello! Im having some issues with Dialog Buttons. I want to edit the following things with a script: animTextureDefault = " "; animTextureDisabled = " "; animTextureFocused = " "; animTextureNormal = ""; animTextureOver = " "; animTexturePressed = " "; So let say i have a shortcutbutton with the idc 5040, is there a way to tell a script to change these attributes on the button? Kind Regards Sjolinder Share this post Link to post Share on other sites
Ramsen II 1 Posted December 5, 2017 an addaction with a custom keymap perhaps? 1. goto controls and custom controls and select 'User 1', and add a spare key (I use '?' for example) 2. create below script named whatever.sqf and activate it in init (execvm whatever.sqf) 3. in game you press '?' button. Quote player addAction ["My Action", { hint "Stuff has changed!"; /// remove this once finished testing. animTextureDefault = " "; animTextureDisabled = " "; animTextureFocused = " "; animTextureNormal = " "; animTextureOver = " "; animTexturePressed = " "; },nil,1.5,false,false,"User1" ]; is this what you need? Share this post Link to post Share on other sites