GetKeywordItemCount

DescriptionEdit

Returns the number of items in the actor's inventory with the specified keyword on them. It also works for containers.

Syntax:Edit

GetKeywordItemCount KeywordID

Examples:Edit

GetKeywordItemCount 000917e7 (VendorItemArrow)  ;returns the number of items in the actor's inventory that have the VendorItemArrow keyword

See AlsoEdit

AddItem
RemoveItem
GetItemCount

Papyrus VersionEdit

ObjectReference.GetItemCount (Papyrus)