Difference between revisions of "Talk:IsEquipped - Actor"
no edit summary
imported>Terra Nova2 m |
imported>VampireMonkey |
||
Line 4: | Line 4: | ||
Try using [[GetEquippedItemType - Actor]] as a work around. Have it check for the left hand, and then have it check for the type of weapon equipped. Also try [[GetEquippedWeapon - Actor]] if you don't get your results from GetEquippedItembyType. --[[User:Terra Nova2|Terra Nova2]] ([[User talk:Terra Nova2|talk]]) 2014-11-20T10:36:36 (EST) | Try using [[GetEquippedItemType - Actor]] as a work around. Have it check for the left hand, and then have it check for the type of weapon equipped. Also try [[GetEquippedWeapon - Actor]] if you don't get your results from GetEquippedItembyType. --[[User:Terra Nova2|Terra Nova2]] ([[User talk:Terra Nova2|talk]]) 2014-11-20T10:36:36 (EST) | ||
I ended up using | |||
<source lang="papyrus">(PlayerRef.IsEquipped(akBaseObject) || PlayerRef.GetEquippedObject(0) == akBaseObject)</source> | |||
having [[GetEquippedObject - Actor]] check the left hand, this worked without any issues. | |||
--[[User:VampireMonkey|VampireMonkey]] ([[User talk:VampireMonkey|talk]]) 2014-11-20T21:28:48 (EST) |