Make a behavior: Set its 'Hidden' flag to true, and its 'Max Stack Count' field to at least as large as the maximum number of copies of your item a hero may equip at once.
Make the item give the behavior when equipped: There's a field called Equip Behaviors (or something like that) in the item object.
Then make a tech requirement that checks if that behavior is on the unit under 'Show': right-click the 'Show' folder, select Add Node, make it of type 'Count Behavior', then set the behavior to your item's behavior, and set the scope to 'Completed At Unit'.
Use your tech requirement for the build buttons in your build ability: Go under your build ability, and under all the build commands, set the Tech Requirement to the requirement you just made.
Now just give your hero both the build ability and all the buttons related to it. They will be hidden until the item is equipped.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Make a behavior: Set its 'Hidden' flag to true, and its 'Max Stack Count' field to at least as large as the maximum number of copies of your item a hero may equip at once.
Make the item give the behavior when equipped: There's a field called Equip Behaviors (or something like that) in the item object.
Then make a tech requirement that checks if that behavior is on the unit under 'Show': right-click the 'Show' folder, select Add Node, make it of type 'Count Behavior', then set the behavior to your item's behavior, and set the scope to 'Completed At Unit'.
Use your tech requirement for the build buttons in your build ability: Go under your build ability, and under all the build commands, set the Tech Requirement to the requirement you just made.
Now just give your hero both the build ability and all the buttons related to it. They will be hidden until the item is equipped.