Mod:Creation Kit/GetName - Form

F4SE member of: Mod:Creation Kit/Form Script

Gets the name of the form, full name if possible.

Syntax
string Function GetName Native

Parameters
None

Return Value
The name of the form as a string.

Examples
string cellName = Game.GetPlayer.GetParentCell.GetName Debug.Trace("My parent cell's name is: " + cellName)
 * If you want to know the name of player's current cell.

string prestonName = PrestonRef.GetActorBase.GetName Debug.Trace(prestonName + " says hello.")
 * If you want to know an actor's name.