HasKeyword - Form: Difference between revisions
Jump to navigation
Jump to search
m
→Examples
imported>DiemCarpe |
imported>DiemCarpe m (→Examples) |
||
| Line 24: | Line 24: | ||
; Does this object have a doom keyword? | ; Does this object have a doom keyword? | ||
if (NiceSwordProperty.HasKeyword(DoomKeywordProperty)) | if (NiceSwordProperty.HasKeyword(DoomKeywordProperty)) | ||
; Note: You do not need to state | ; Note: You do not need to state the function's syntax in your script | ||
; to be able to use the function | ; to be able to use the function | ||
Debug.Trace("The nice sword is a doom sword") | Debug.Trace("The nice sword is a doom sword") | ||
endIf | endIf | ||