Background for Skyrim SE
Member of the _Q2C_Functions script
intfunctionGetNumItemsWithKeyword(ObjectReferenceakObjRef, KeywordakKeyword)NativeGlobal

Description

Documentation Comment


          Inventory Functions

Q2C's original functions, updated for SKSE64
Note that GetNumItemsWithKeyword groups by item type
ie, a stack of ten daggers counts as ONE toward the total, NOT ten


Caveats


Parameters

ObjectReferenceakObjRef

KeywordakKeyword


Examples

Auto-Generated Example

ObjectReference myObjectReference__akObjRef
Keyword myKeyword__akKeyword

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