AddKeyword - ObjectReference

Revision as of 05:18, 20 August 2019 by imported>Ice Eyes (→‎Parameters: Corrected parameter name)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: ObjectReference Script

Adds specified keyword to reference's list of keywords.

SyntaxEdit

Function AddKeyword(Keyword apKeyword) native

ParametersEdit

ExamplesEdit

; Add injured keyword to an actor
ActorToInjure.AddKeyword(InjuredMobilityRightKeywordProperty)

NotesEdit

Once a keyword has been added by this function it won't be removed if an alias that also added the keyword was removed from the object. In a sense, it "overrides" the base object and alias. To undo the addition, you can use ResetKeyword.

See AlsoEdit