UI.AddCheckBox("Checkbox");
UI.AddCheckBox("Other");
UI.AddCheckBox("Other2");
function visable()
{
if(UI.GetValue("Script items", "Checkbox"))
{
UI.SetEnabled("Script items", "Other", true);
UI.SetEnabled("Script items", "Other2", true);
}
else
{
UI.SetEnabled("Script items", "Other", false);
UI.SetEnabled("Script items", "Other2", false);
}
}
function main()
{
visable();
}
Register.Callback("Draw", "main");