ShadowChemosh
Well-known member
So if I add a Greatsword to a character I can then right click on it's ? field and a new little menu appears. If I take Show Debug Tags I get a list of all tags or information that HL knows about this weapon. One of them is wClass.TwoHanded. So if we want to pick every weapon on the character(ie Hero) that is a two-handed weapon we just change the tag we are looking for. Also I was off on the timing it needs to be Pre-Levels 1,000.Ah. See I've learned something today. Thanks.
So if I wanted it to work with all two-handed weapons how would I go about doing that?
Edit: It is still counting the greatsword as a two-handed weapon.
Here is the new script with the slight change to now change All two-handed weapons on the Hero into 1-handed weapons.
Code:
~Pre-Levels 1,000
foreach pick in hero from BaseWep where "wClass.TwoHanded"
perform eachpick.tagreplace[wClass.TwoHanded,wClass.OneHanded]
nexteach
Hope that helps.