I have two weapons with the same name on one of my chars. Here is what I think should work from reading the wiki but it does not.
The above code outputs the same id for both echos.
How do I use two different weapons with the same name?
Code:
variable string PrimaryWeapon = "Flawless Cavalier's Jagged Axe of Striking"
variable int PrimaryWeaponID
variable string SecondaryWeapon = "Flawless Cavalier's Jagged Axe of Striking"
function main()
{
echo wear macro
PrimaryWeaponID:Set[${Me.Inventory[${PrimaryWeapon}].ID}]
echo ${PrimaryWeaponID}
echo ${Me.Inventory[notid,${PrimaryWeaponID},${SecondaryWeapon}].ID}
}
How do I use two different weapons with the same name?