CalcLeveledItem - what am I doing wrong?

Post » Fri May 04, 2012 4:54 am

I've got a levelled creature list which I am populating from various mods using a filter patch. The base list in my mod is empty but I've verfied with Tes4Edit that the filter is bashing properly, and other parts of the mod that rely on the list are working properly. However, I can't get my script to generate a random creature from the list.

The entries are all level 1, neither calculate from all levels <= PC's level nor Calculate for each item in count are ticked, and the chance none is 0.

The relevant part of the script is
ref Listref Catchlet List := DSFishListlet Catch := CalcLeveledItem List 1SetFunctionValue Catch
but the script stalls when it gets here; the function returns and the returned ref is emtpy (prints 00000000 when I try printc "%i %n" catch catch)

Any idea where I'm going wrong?
User avatar
xxLindsAffec
 
Posts: 3604
Joined: Sun Jan 14, 2007 10:39 pm

Post » Thu May 03, 2012 11:41 pm

Well as it turns out, there is nothing wrong with how I'm using the leveled list command... there was a problem with the script higher up that was causing it to abort... :banghead:

This topic can probably be closed... before someone starts laughing at my foolishness. :tongue:
User avatar
Mr.Broom30
 
Posts: 3433
Joined: Thu Nov 08, 2007 2:05 pm

Post » Fri May 04, 2012 3:05 am

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


Return to IV - Oblivion