AddKeyword - ObjectReference
Revision as of 16:14, 2 December 2015 by imported>Plplecuyer
Member of: ObjectReference Script
Adds specified keyword to reference's list of keywords.
Syntax
Function AddKeyword(Keyword akKeyword) native
Parameters
- akKeyword: The Keyword to add.
Examples
; Add injured keyword to an actor
ActorToInjure.AddKeyword(InjuredMobilityRightKeywordProperty)
Notes
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.