Difference between revisions of "GetName - Form"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Sagitarius22
imported>Sagitarius22
Line 5: Line 5:


Returns the name of the passed form. (This function requires SKSE)
Returns the name of the passed form. (This function requires SKSE)


== Syntax ==
== Syntax ==
Line 10: Line 11:
Form Function GetName(form BaseObject) native
Form Function GetName(form BaseObject) native
</source>
</source>


== Parameters ==
== Parameters ==
*BaseObject: The base object we want the name.
*BaseObject: The base object we want the name.


== Return Value ==
== Return Value ==
*The name of the form as a string.
*The name of the form as a string.


== Examples ==
== Examples ==
Line 26: Line 30:
== Notes ==
== Notes ==
none
none


== See Also ==
== See Also ==
*[[Form Script]]
*[[Form Script]]
*[[SetName - Form]]
*[[SetName - Form]]

Revision as of 09:59, 14 May 2012

SKSE Member of: Form Script

Returns the name of the passed form. (This function requires SKSE)


Syntax

Form Function GetName(form BaseObject) native


Parameters

  • BaseObject: The base object we want the name.


Return Value

  • The name of the form as a string.


Examples

; Obtain Bob's name and show a message using it.
String BobName = Bob.GetBaseObject().GetName()
Debug.MessageBox("My name's " +BobName)

Notes

none


See Also