-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attributes Framework #16
Comments
Table of attribute types:
*epoch is January first of smallest year given Example: class GVARMAIN(attributes) {
class CAManBase {
class ADDON {
class General {
class Awesome {
displayName = "Is awesome";
tooltipText = "Select if this unit is awesome or not.";
type = "BOOL";
default = 1; // Optional, default is 0
exceptions[] = {"isAlive"};
expression = QUOTE(_x setVariable [QGVAR(isAwesome), _this]);
};
class CombatMode {
displayName = "Combat Mode";
tooltipText = "Select this unit's group's combat mode.";
type = "COMBO";
values[] = {"BLUE", "GREEN", "WHITE", "YELLOW", "RED"};
labels[] = {
"Never fire",
"Hold fire - defend only",
"Hold fire, engage at will",
"Fire at will",
"Fire at will, engage at will"
};
expression = "(group _x) setCombatMode _this";
condition = "_x == leader _x";
};
};
};
};
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the system that will manage UI's for either specific object classes or generic dialogs. It is dynamically created by traversing through the given attributes class and creating its controls inside the parent window. God help us all.
The text was updated successfully, but these errors were encountered: