-
Notifications
You must be signed in to change notification settings - Fork 52
Enumerations
MMOMinion edited this page Feb 12, 2014
·
24 revisions
- All enumerations made by us are listed here. Enumerations are pre-defined global lua variables that can and SHOULD be used everywhere in your lua code for better understanding and to reduce problems that come with patches & updates of the game that change these ingame enumerations.
- Usage example:
-- the 'd' command is a global command for printing out information into the console
d(GW2.SKILLBARSLOT.Slot_6)
-- Result: 0 (which is the internal enumeration value for the skillbar slot 6)
.Slot_1 = 5, //Skill1
.Slot_2 = 6, //Skill2
.Slot_3 = 7, //Skill3
.Slot_4 = 8, //Skill4
.Slot_5 = 9, //Skill5
.Slot_6 = 0, //Healing Skill
.Slot_7 = 1, //Utility Skill1
.Slot_8 = 2, //Utility Skill2
.Slot_9 = 3, //Utility Skill3
.Slot_10 = 4, //Elite Skill
.Slot_11 = 10,
.Slot_12 = 11,
.Slot_13 = 12, //F1
.Slot_14 = 13, //F2
.Slot_15 = 14, //F3
.Slot_16 = 15, //F4