Scriptname heavyarmordetector extends activemagiceffect ConditionalKeyword Property ArmorHeavy AutoEvent OnObjectEquipped(Form akBaseObject, ObjectReference akReference)string playersHealth = Game.GetPlayer().GetActorValue("health") as string Debug.MessageBox("Hello world" )If akBaseObject As ArmorDebug.MessageBox("It is an armor")If (akBaseObject.HasKeyword(ArmorHeavy)==1) Debug.MessageBox("It is a heavy armor") EndIfEndIfendEventRight now it identifies if the player equips an armor but not if it is heavy, what am I doing wrong?
