Enabling Item Sets Via Code

bf1081

New member
Hey Justin, I'm just getting into UFPS and have a question regarding Item Switching. Is there a way to activate or deactivate an item set in C# code?
 
In order to ensure the item is equipped/unequipped correctly you'll want to activate the EquipUnequip ability which will manage the ItemSets:

 
Ah, that property. The easiest way to set that would be to use the state system:


This is done in the demo scene for the left/right handed grenades.
 
Top