GetString - Keyword: Difference between revisions

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Kahmul
(Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' Keyword Script Returns the string associated with the keyword. (This function require...")
 
m (Convert source tags to syntaxhighlight)
 
Line 7: Line 7:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
String Function GetString() native
String Function GetString() native
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 18: Line 18:


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
String strKW = KWproperty.getString()
String strKW = KWproperty.getString()
Debug.Notification("The keyword's editor ID is " + strKW)
Debug.Notification("The keyword's editor ID is " + strKW)
</source>
</syntaxhighlight>


== Notes ==
== Notes ==

Latest revision as of 20:03, 5 September 2026

SKSE Member of: Keyword Script

Returns the string associated with the keyword. (This function requires SKSE)

Syntax[edit | edit source]

String Function GetString() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

The keywords' editor ID as a string.

Examples[edit | edit source]

String strKW = KWproperty.getString()
Debug.Notification("The keyword's editor ID is " + strKW)

Notes[edit | edit source]

None.

See Also[edit | edit source]