Jump to content

Papyrus Debug displaying a form name


silhouett

Recommended Posts

I have the following code

Busy = True
  While (index < COB_OldBaseHome.GetSize())
     ObjectReference MyObjReference = COB_OldBaseHome.GetAt(index) as ObjectReference
	 Debug.Trace("Attempting Enable "+ index + "  "+  MyObjReference )
	 MyObjReference.Enable()

     index += 1
	 EndWhile
  Busy = False

I want to also display the name of the item in the form as it displays in the creation kit when you view the form.

 

Link to comment
Share on other sites

I don't believe it can..without F4SE. in Skryim it was only possible through SKSE's GetName() function which returns the name of the form(not the EditorID name but the name in the name column in the CK).

 

And right now, there's no GetName() function.

 

If you try casting the form to string, it will only show name of its type and the form ID.

Link to comment
Share on other sites

I don't believe it can..without F4SE. in Skryim it was only possible through SKSE's GetName() function which returns the name of the form(not the EditorID name but the name in the name column in the CK).

 

And right now, there's no GetName() function.

 

If you try casting the form to string, it will only show name of its type and the form ID.

Yeah I see that in the code, but you would think by now they would have added that one feature as it is very useful to display an items name.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...