Hi,
I know you can have it so you can let people type stuff in to change variables as i use it on some of my skins. But is there a way to have pre-set options as buttons that change variables? (on the same or different file)
Thanks.
It is currently April 28th, 2024, 1:25 am
Buttons to set veriables?
-
- Posts: 54
- Joined: October 8th, 2011, 11:49 pm
-
- Posts: 1173
- Joined: January 22nd, 2011, 4:23 pm
- Location: GMT +8
Re: Buttons to set veriables?
Yes, you can use !WriteKeyValue or !SetVariable with a mouse click, with a Button meter or anywhere else you can use a !Bang. The variables can be in the same file or another file.kennyist wrote:.. is there a way to have pre-set options as buttons that change variables? (on the same or different file)
You can read about !WriteKeyValue and !SetVariable here.
Another way to change/set variables is with the InputText plugin which is a little more complicated but being used by an increasing number of authors crafting skins for distribution. You can read about the InputText plugin here.