Background for Skyrim SE
Member of the _Q2C_Functions script
intfunctionGetNumItemsOfType(ObjectReferenceakObjRef, intaiType)NativeGlobal

Description

Documentation Comment

added by Kalivore - type is the SKSE itemType (eg 26 for armour, or 46 for potion)
full list at Form.GetType()


Caveats


Parameters

ObjectReferenceakObjRef

intaiType


Examples

Auto-Generated Example

ObjectReference myObjectReference__akObjRef
int myInt__aiType

int returnedValue = _Q2C_Functions.GetNumItemsOfType(myObjectReference__akObjRef, myInt__aiType)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.