GetKeywordItemCount

Revision as of 17:10, 2 December 2011 by imported>Scornett-Bot (Script running global find and replace: = for '''=)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)