WornApparelHasKeywordCount

From the CreationKit Wiki
Revision as of 10:48, 7 December 2023 by Dutchj (talk | contribs) (Added note concerning some armor items which are not counted by this function.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Returns the number of armor objects worn by this actor with the specified keyword parameter.

Example

The following would return true if the actor were wearing 4 or more pieces of armor with the ArmorMaterialElven keyword.

Chesko confunc wornapparelhaskeywordcount.jpg

Notes

  • This function does not count shields or amulets/necklaces.

See Also