Difference between revisions of "WornApparelHasKeywordCount"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Chesko
(Added note concerning some armor items which are not counted by this function.)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
Returns true if the number of armor objects with the specified keyword parameter worn by this actor fulfills the comparison value.
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.
 
[[File:chesko_confunc_wornapparelhaskeywordcount.jpg]]
 
== Notes ==
 
* This function does not count shields or amulets/necklaces.
 
== See Also ==
 
*[[WornHasKeyword]]


[[Category:Condition Functions]]
[[Category:Condition Functions]]

Latest revision as of 10:48, 7 December 2023

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

Example[edit | edit source]

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[edit | edit source]

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

See Also[edit | edit source]