Talk:GetWornForm - Actor
Jump to navigation
Jump to search
This function appears to be broken in SKSE 1.6.4 or the method of how it's called has changed as of Nov. 5th 2012 --Jbezorg (talk) 19:57, 5 November 2012 (EST)
Possible Workaround
Int iFormIndex = ( akActor as ObjectReference ).GetNumItems()
While ( iFormIndex > 0 )
iFormIndex -= 1
Form kForm = ( akActor as ObjectReference ).GetNthForm(iFormIndex)
If ( kForm.GetType() == 26 && akActor.IsEquipped(kForm) && ( kForm as Armor ).GetSlotMask() == 0x00000004 )
; your code
EndIf
EndWhile