- Found in:
- PO3's PE
Form[]functionAddItemsOfTypeToArray(ObjectReferenceakRef, intaiFormType, boolabNoEquipped=true, boolabNoFavorited=false, boolabNoQuestItem=false)NativeGlobal
Description
GitHub Wiki Description (PO3's PE)
- Adds inventory items matching formtype to array, filtering out equipped, favourited and quest items.
Caveats
Parameters
ObjectReferenceakRef
intaiFormType
boolabNoEquipped=true
boolabNoFavorited=false
boolabNoQuestItem=false
Examples
Auto-Generated Example
ObjectReference myObjectReference__akRef
int myInt__aiFormType
bool myBool__abNoEquipped
bool myBool__abNoFavorited
bool myBool__abNoQuestItem
Form[] returnedValue = PO3_SKSEFunctions.AddItemsOfTypeToArray(myObjectReference__akRef, myInt__aiFormType, myBool__abNoEquipped, myBool__abNoFavorited, myBool__abNoQuestItem)Additional References
View this function on the GitHub Wiki for powerofthree's Papyrus Extender
