View Single Post
TobyFox2002
Senior Member
 
Join Date: Nov 2013
Location: Andover, Ma
Posts: 632

Old July 28th, 2019, 09:51 AM
Well, I had already examined that, and took from it what I could. I am honestly begining to think that it isnt an issue with the code that I have as it appears from the debug output that I should get some positive result.

Instead when I look at the usrCandid1 gives um.. EVERYTHING as an option instead of being limited to the custom expression that I HL says that it should be using.

Using this code:
Code:
    debug "~~~~~~ Settlement & Building Selection ~~~~~~~"
    debug "{b}Location:{/b} cLGCoEdict | {b}Timing:{/b} Render/999999/1"
~ Seach the Kingdom Hexes and find those with a settlement
      foreach pick in hero from KingHex where "HexFeature.Settle"
debug "==============================================="
debug "{b}Settlement Name:{/b} " & eachpick.field[hxName].text
        foreach pick in eachpick.gizmo where "TerrImpCat.Building"
           debug "{b}Gizmo ID:{/b} " & eachpick.idstring
        nexteach

       field[abText].text &= "thingid." & eachpick.idstring & "|"
     nexteach
debug "==============================================="
debug "=====================END======================"
      debug "abText : " & field[abText].text
      field[usrCandid1].text &= field[abText].text
See the attached image for the output for the result. Not sure what I'm doing wrong..
Attached Images
File Type: png what i'm trying to do.png (317.0 KB, 3 views)
TobyFox2002 is offline   #3 Reply With Quote