level.<color name>= (r, g, b);
Ex:
level.white = (1, 1, 1);
...
self.myShader.color = level.white;
setColor(type, elem, color);
Ex:
setColor("menu", "background", black);
or
setColor("menu", "background", (0, 0, 0));
/*
* parent = menu to add to
* name = menu id/reference
* title = text to display for menu title
*/
[entity] addMenu(parent, name, title);
/*
* parent = menu to add to
* label= text to display
* title = function to call
* input = parameter to pass to function
* type = "thread" for async calls or blank for immediate calls; default is immediate
* entity = entity to call function on; default is self
*/
[entity] addOption(parent, label, function, input, type, entity);
/*
* accessLevel = integer from 0-3
*/
[entity] setAccessLevel(accessLevel);
/*
* returns integer value; default is 0 (no access)
*/
[entity] getAccessLevel();
/*
* returns string matching access level (No Access, Limited Access, Admin, Host)
*/
[entity] getAccessLevelStatus();
/*
* parent = menu to add to
* name = menu id/reference
* title = text to display for menu title
*/
[entity] addMenu(parent, name, title);
/*
* parent = menu to add to
* label= text to display
* title = function to call
* input = parameter to pass to function
* type = "thread" for async calls or blank for immediate calls; default is immediate
* entity = entity to call function on; default is self
*/
[entity] addOption(parent, label, function, input, type, entity);
/*
* accessLevel = integer from 0-3
*/
[entity] setAccessLevel(accessLevel);
/*
* returns integer value; default is 0 (no access)
*/
[entity] getAccessLevel();
/*
* returns string matching access level (No Access, Limited Access, Admin, Host)
*/
[entity] getAccessLevelStatus();
/*
* parent = menu to add to
* name = menu id/reference
* title = text to display for menu title
*/
[entity] addMenu(parent, name, title);
/*
* parent = menu to add to
* label= text to display
* title = function to call
* input = parameter to pass to function
* type = "thread" for async calls or blank for immediate calls; default is immediate
* entity = entity to call function on; default is self
*/
[entity] addOption(parent, label, function, input, type, entity);
/*
* accessLevel = integer from 0-3
*/
[entity] setAccessLevel(accessLevel);
/*
* returns integer value; default is 0 (no access)
*/
[entity] getAccessLevel();
/*
* returns string matching access level (No Access, Limited Access, Admin, Host)
*/
[entity] getAccessLevelStatus();
Copyright © 2024, NextGenUpdate.
All Rights Reserved.