Dropdowns
Changing Dropdown Values
To change what a dropdown has, use this.
If you don't set the right variable name, it won't work.
Dropdown
To create a dropdown, use this.
If you are having issues, you're supposed to replace "Tabs.Main" with your actual tab.
Example: "Tabs.Exploits"
Whatever you put in your Tabs variable, it's what you need.
The Value returns the selected value.
Change local Dropdown
to a different variable name every time. It can be anything.
Dropdown
(name of dropdown) is saved in the Options variable.
You can try to remove it, but I've never tried to.
You can get the value anywhere simply by using this: (Put your variable name)
Or, whatever you put as the name of the toggle.
You can check when the dropdown is changed, but Callback does the same thing.
To set the value of a dropdown, use this.
If you don't set the right variable name, it won't work.
Multiple Dropdowns
To create a dropdown with multiple values, use this.
If you are having issues, you're supposed to replace "Tabs.Main" with your actual tab.
Example: "Tabs.Exploits"
Whatever you put in your Tabs variable, it's what you need.
Change local MultiDropdown
to a different variable name every time. It can be anything.
MultiDropdown
(name of dropdown) is saved in the Options variable.
You can try to remove it, but I've never tried to.
Information
Multi Dropdowns are super annoying. It returns the Value of every Value and if it's true or not.
An example is shown below.
To get the value of something, simply use
Or, whatever you put as the name of the toggle.
This will return "true" if it's true.
Functions
You can check when the multi dropdown is changed, but Callback does the same thing.
To set the value of a multi dropdown, use this.
If you don't set the right variable name, it won't work.
Last updated