Main Hand Types


To treat ItemType as MainHandType, add it to array MainHandTypes.

It is recommended to not put there any other types than MeleeWeapon / RangeWeapon / Spell.

Variable SelectedMainHandType tracks which type is currently selected.


There are 2 functions which allows to change active item.

  • SetMainHandType where we can set new type
  • SwitchMainHandType where type will be next / previous from array MainHandTypes based on Forward parameter