RemoveKeyword - ObjectReference

Member of: ObjectReference Script

Removes a keyword from a reference's list of keywords.

SyntaxEdit

Function RemoveKeyword(Keyword apKeyword) native

ParametersEdit

Return ValueEdit

None

ExamplesEdit

; Remove keyword indicating an actor's right leg is injured
ActorToHeal.RemoveKeyword(InjuredMobilityRightKeywordProperty)
Debug.Trace("Actor's right leg injured keyword was removed")

NotesEdit

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.

See AlsoEdit