I'm very new to the requirement and Items tab. But I wanna make so that I can only have an item in a certain slot if I have another item in a speical slot. Can someone tell me what type of Requirement I need? I have made one of the slots only be able to carry a dagger, but I tried to make it locked unless the other slot for a weapon was filled with a dagger. Otherwise I could have a staff in 1 hand and a dagger in the other. I tried to make a behavior that gets applied when you have the dagger equipped and then you can have a dagger in the second slot. But that didn't work. But it just ended up not being locked no matter what I had in the first hand,
Under the Slots - Classes field of the Item Container you can specify what sort each slot can use.
For your other slot I would use a requirement that counts Buff behaviours Completed At Unit using a buff added by the daggers via the Items data type. Remember there is a difference between the held behaviour and the equipped behaviour.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
I created a behavior which I put on my weapon on Equip Behavior And then I put a requirment on the slot I wanted to lock and this is what I got in the requirement. CountBehavior(DualWieldDaggers,CompleteOnlyAtUnit) It still didn't work. I could place a dagger with or without the behavior in the second slot even if I didn't have a dagger with the behavior in the first slot.
I don't know how to do that. When I add the Count Behavior I can't add anything else. I now tried to make this on the requirement but it didn't work. Do you want me to show an image of my item or something?
I actually have an idea. I make an ability allowed requirement. If I make a First-Hand Dagger with an equip ability that makes me able to have a second dagger in the other hand. and when I remove the one-hand dagger the other slot can't be equipped with a dagger.
I'm very new to the requirement and Items tab. But I wanna make so that I can only have an item in a certain slot if I have another item in a speical slot. Can someone tell me what type of Requirement I need? I have made one of the slots only be able to carry a dagger, but I tried to make it locked unless the other slot for a weapon was filled with a dagger. Otherwise I could have a staff in 1 hand and a dagger in the other. I tried to make a behavior that gets applied when you have the dagger equipped and then you can have a dagger in the second slot. But that didn't work. But it just ended up not being locked no matter what I had in the first hand,
Can someone tell me how to make it work?
Under the Slots - Classes field of the Item Container you can specify what sort each slot can use.
For your other slot I would use a requirement that counts Buff behaviours Completed At Unit using a buff added by the daggers via the Items data type. Remember there is a difference between the held behaviour and the equipped behaviour.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
In reply to DrSuperEvil:
I created a behavior which I put on my weapon on Equip Behavior And then I put a requirment on the slot I wanted to lock and this is what I got in the requirement. CountBehavior(DualWieldDaggers,CompleteOnlyAtUnit) It still didn't work. I could place a dagger with or without the behavior in the second slot even if I didn't have a dagger with the behavior in the first slot.
Tried adding a comparator Such as greater than and comparing it to a constant?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
In reply to DrSuperEvil:
I actually have an idea. I make an ability allowed requirement. If I make a First-Hand Dagger with an equip ability that makes me able to have a second dagger in the other hand. and when I remove the one-hand dagger the other slot can't be equipped with a dagger.
sure you are adding the requirement to the right slot?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
I'm very sure, but I just ended up making the inventory for 1 special character instead of all in that armor type.