Form Name via Papyrus

Post » Mon Jun 18, 2012 11:52 am

Is there a way to get the name (title?) of a Form, given either a FormID or an instance of Form? For instance, ObjectReference has the event:

Event OnItemAdded(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer)

Is it possible to lookup the name of akBaseItem, or would we need to put together a list of existing FormIDs mapped to their names?
User avatar
Mike Plumley
 
Posts: 3392
Joined: Wed Sep 05, 2007 10:45 pm

Post » Mon Jun 18, 2012 1:54 am

After looking around the wiki for a few minutes, I don't think there is currently a way. Looks like we'll have to wait on SKSE for this one.

Cipscis
User avatar
Causon-Chambers
 
Posts: 3503
Joined: Sun Oct 15, 2006 11:47 pm

Post » Mon Jun 18, 2012 12:49 pm

I also looked through the wiki to no avail. I was hoping there was some access to whatever method the UI uses to display names, something like that, but doesn't look like it.

In fact SkyUI has a filter for their inventory screens - I wonder how that was accomplished? I suppose that it does use the SKSE.
User avatar
Syaza Ramali
 
Posts: 3466
Joined: Wed Jan 24, 2007 10:46 am


Return to V - Skyrim