• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Non-existent sortset referenced

Arkadious

Member
Background info: I'm trying to fix an issue with the Fused Summoner where it doesn't give the correct base attack bonus for wearing the Eidolon. I haven't even altered the code for cSumFusEid Id yet, and I'm getting an error when compiling.

I've run into an error regarding a script already implemented in Herolab.

When I duplicate the cSumFusEid Id in Herolab and run compile, it gives me this error:
Code:
Non-existent sortset 'explicit' referenced by script

When I have a look in the script, completely unaltered, I find the line its referencing:
Code:
      ~ build up a description of our Eidolon and include that in our description
      foreach pick in gizmo from BaseRace
        field[CustDesc].text &= eachpick.field[name].text & "{br}"
        field[CustDesc].text &= hero.tagabbrevs[Alignment.?,""] & " "

        ~This only handles the sizes that are available to an Eidolon, not the
        ~full range of sizes in the game
        if (eachpick.field[rSizeMod].value = -1) then
          field[CustDesc].text &= "Small "
        elseif (eachpick.field[rSizeMod].value = 0) then
          field[CustDesc].text &= "Medium "
        elseif (eachpick.field[rSizeMod].value = 1) then
          field[CustDesc].text &= "Large "
        elseif (eachpick.field[rSizeMod].value = 2) then
          field[CustDesc].text &= "Huge "
          endif
        field[CustDesc].text &= "outsider{br}"
        nexteach

      var ac as number
      ac = field[abValue3].value + 10
      field[CustDesc].text &= "{b}AC{/b} " & ac & " (" & signed(field[abValue3].value) & " natural){br}"

      var hpbonus as number
      var hdcount as number
      foreach pick in gizmo from BaseHitDie
        hpbonus += eachpick.field[cHPBonus].value
        hdcount += 1
        nexteach

      field[CustDesc].text &= "{b}hp{/b} " & field[trkMax].value & " (" & hdcount & "d10" & signed(hpbonus) & "){br}"

      var attrtext as string
      var attrabbrev as string
      [COLOR="Red"]foreach pick in gizmo from BaseAttr sortas explicit[/COLOR]

        ~ the abbreviation is stored in ALL CAPS, and we want title case
        attrabbrev = eachpick.field[aAbbr].text
        attrabbrev = left(attrabbrev,1) & right(lowercase(attrabbrev),2)

        attrtext = splice(attrtext,"{b}" & attrabbrev & "{/b} " & eachpick.field[aFinalVal].value,", ")
        nexteach

      field[CustDesc].text &= attrtext & "{br}"

      field[CustDesc].text &= "{b}Base Atk{/b} " & signed(field[abValue].value) & "{br}"

      var evoltext as string
      foreach pick in gizmo from RaceCustom where "!Hide.All"
        evoltext = splice(evoltext,eachpick.field[livename].text,", ")
        nexteach

      field[CustDesc].text &= "{b}Evolutions{/b} " & evoltext

      ~ now that we're done building it, append it to our description (the
      ~ printed output also uses this text, but it uses the raw CustDesc field)
      #appenddesc[cSumFusEid,"{b}Eidolon{/b}{br}" & field[CustDesc].text]

      ~ display our current HP as part of our name
      field[livename].text &= " (" & field[trkLeft].value & "/" & field[trkMax].value & " HP)"

What should replace it with to fix the error?
 
Last edited:
Back
Top