Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Pathfinder Roleplaying Game (http://forums.wolflair.com/forumdisplay.php?f=62)
-   -   Non-existent sortset referenced (http://forums.wolflair.com/showthread.php?t=66301)

Arkadious September 8th, 2021 05:24 PM

Non-existent sortset referenced
 
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
      foreach pick in gizmo from BaseAttr sortas explicit

        ~ 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?


All times are GMT -8. The time now is 08:55 AM.

Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.