LeveledItem.GetNumItems() and .GetNthForm()

Post » Sat Dec 08, 2012 4:07 am

I see that SKSE adds GetNumItems() and GetNthForm() to ObjectReference -- is there any anologous functionality for LeveledItem, which only extends Form and not ObjectReference?

I want my script to scan through and inspect an entire leveled item list; if any of the contents are themselves leveled item lists, I can recurse to scan them too (Papyrus does support recursive function calls, right?) But since LeveledItem only has AddForm() and Revert(), and the base script Form has no way of inspecting contents either, I can't figure out a way to do this.

Any ideas? If it's not possible now, is there any chance the SKSE developers would be willing to add it by request?
User avatar
Sabrina Steige
 
Posts: 3396
Joined: Mon Aug 20, 2007 9:51 pm

Return to V - Skyrim