RemoveKeyword - ObjectReference
Jump to navigation
Jump to search
Member of: ObjectReference Script
Removes a keyword from a reference's list of keywords.
Syntax[edit | edit source]
Function RemoveKeyword(Keyword apKeyword) native
Parameters[edit | edit source]
- apKeyword: The Keyword to remove.
Return Value[edit | edit source]
None
Examples[edit | edit source]
; Remove keyword indicating an actor's right leg is injured
ActorToHeal.RemoveKeyword(InjuredMobilityRightKeywordProperty)
Debug.Trace("Actor's right leg injured keyword was removed")
Notes[edit | edit source]
Once a keyword has been removed by this function it won't be added if an alias having this keyword is added to the object. In a sense, it "overrides" the base object and alias. To undo the removal, you can use ResetKeyword.