In my map I'm using items that equip weapons to a hero when they are in his inventory. However, the problem I have is that when the hero holds 2 weapons of the same type, the exact same weapon, only one of them fires.
Is there any way to have a hero fire multiple weapons that are identical?
1) Make your item equip a Behaviour instead of a Weapon
2) Make the Behaviour equip your weapon via a Buff
3) Make a requirement so that you need 1 or more unit of the item equipped for the Behaviour to function and apply it to your Behaviour
4) Make several exact copies of your weapon
5) Make the same amount of copies of the Requirements, but change the number of items required for each from 1 to 2, 3, 4, etc
6) Make the same amount of copies of the Behaviours, set the Requirements and change the weapon for each one
7) ??? 8) Profit
TL;DR SC2 can't stack 2 of the same WeaponID no matter what, but you can work around it by making copies and having it give you them based upon how many of the same item you have in your inventory
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
In my map I'm using items that equip weapons to a hero when they are in his inventory. However, the problem I have is that when the hero holds 2 weapons of the same type, the exact same weapon, only one of them fires.
Is there any way to have a hero fire multiple weapons that are identical?
@Kreusser: Go
I would also like to know the answer to this.
bump
would like to know the answer to this also
bump, figured it out
1) Make your item equip a Behaviour instead of a Weapon
2) Make the Behaviour equip your weapon via a Buff
3) Make a requirement so that you need 1 or more unit of the item equipped for the Behaviour to function and apply it to your Behaviour
4) Make several exact copies of your weapon
5) Make the same amount of copies of the Requirements, but change the number of items required for each from 1 to 2, 3, 4, etc
6) Make the same amount of copies of the Behaviours, set the Requirements and change the weapon for each one
7) ???
8) Profit
TL;DR SC2 can't stack 2 of the same WeaponID no matter what, but you can work around it by making copies and having it give you them based upon how many of the same item you have in your inventory