- Found in:
- SKSE
Description
Wiki Description
Returns the keyword associated with the string. (This function requires SKSE)
Documentation Comment
SKSE64 additions built 2024-01-17 20:01:40.731000 UTC
return the keyword with the specified key
Caveats
CK Wiki - Notes
None.
Parameters
stringkey
CK Wiki Description
the full name of the keyword. Capitalization does not matter (see Literals Reference > String > Case Insensitivity).
Examples
Keyword testKW = Keyword.GetKeyword("weaptypebattleaxe")
if(WeaponProp.HasKeyword(testKW))
Debug.Notification("Our weapon is a battle axe!")
else
Debug.Notification("Our weapon is not a battle axe!")
endifAuto-Generated Example
string myString__key
Keyword returnedValue = Keyword.GetKeyword(myString__key)