Equip and Uequip Ability by scripts

maherar

Member
I want to equip and unequip items through script. I added my all items in Default Loadout list and trying todo it with API by given in following link.

equipUnequip.StartEquipUnequip(2);

It is activating different items with the same number. Pleas help me how I can do this via scrip and want to equipe items with names not index number.
Thanks
 
Pleas help me how I can do this via scrip and want to equipe items with names not index number.
The script uses ItemSet index and there isn't a mapping to equipping with strings. If you want to use strings you'll need to add another layer which does the mapping.
 
Top