HasKeyword - Form
Revision as of 17:50, 1 December 2015 by imported>Plplecuyer
Member of: Form Script
Checks to see if the specified keyword is attached to this form.
SyntaxEdit
bool Function HasKeyword(Keyword akKeyword) native
ParametersEdit
- akKeyword: The Keyword to query for.
Return ValueEdit
Whether this form has the specified keyword or not. If the form doesn't support keywords, it will always return false.
ExamplesEdit
; Does this object have a doom keyword?
if (NiceSwordProperty.HasKeyword(DoomKeywordProperty))
Debug.Trace("The nice sword is a doom sword")
endIf