Mod:Creation Kit/WornHasKeyword - Actor

Member of: Mod:Creation Kit/Actor Script

Checks to see if anything worn by this actor has the specified keyword attached.

Syntax
bool Function WornHasKeyword(Keyword akKeyword) native

Parameters

 * akKeyword: The Keyword to check for

Return Value
True if something the actor is wearing has the specified Keyword. False otherwise.

Examples
if Game.GetPlayer.WornHasKeyword(FurCoatKeyword) Debug.Trace("Player is toasty warm!") endIf
 * Is the player wearing a fur coat?