- Found in:
- F4SE
Description
Wiki Description
Gets the name of the form, full name if possible.
Documentation Comment
returns the form's name, full name if possible
Caveats
CK Wiki - Notes
- For actors and object references, must be used on the base object.
- The return value is the name found under the name column for objects in the editor.
Examples
; If you want to know the name of player's current cell.
string cellName = Game.GetPlayer().GetParentCell().GetName()
Debug.Trace("My parent cell's name is: " + cellName)
; If you want to know an actor's name.
string prestonName = PrestonRef.GetActorBase().GetName()
Debug.Trace(prestonName + " says hello.")Auto-Generated Example
string returnedValue = myForm__toCallFunctionOn.GetName()Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
