WornHasKeyword - Actor
Jump to navigation
Jump to search
Member of: Actor Script
Checks to see if anything worn by this actor has the specified keyword attached.
Syntax[edit | edit source]
bool Function WornHasKeyword(Keyword akKeyword) native
Parameters[edit | edit source]
- akKeyword: The Keyword to check for
Return Value[edit | edit source]
True if something the actor is wearing has the specified Keyword. False otherwise.
Examples[edit | edit source]
; Is the player wearing a fur coat?
if Game.GetPlayer().WornHasKeyword(FurCoatKeyword)
Debug.Trace("Player is toasty warm!")
endIf