- Found in:
- SKSE
Description
Wiki Description
Checks to see if the specified keyword is attached to this form. (This function requires SKSE)
Caveats
Parameters
strings
CK Wiki Description
the full name of the keyword. Capitalization does not matter.
Examples
if (PotionProperty.HasKeywordString("vendoritemfood"))
Debug.Notification("This is food.")
elseif (PotionProperty.HasKeywordString("VendorItemFoodRaw"))
Debug.Notification("This is raw food.")
else
Debug.Notification("This is a potion.")
endifAuto-Generated Example
string myString__s
bool returnedValue = myForm__toCallFunctionOn.HasKeywordString(myString__s)Related Pages
- Form
- Keyword
- Form.GetNumKeywords()
- Form.GetNthKeyword(...)
- Form.HasKeyword(...)
- Keyword.GetKeyword(...)
