Hi folks, still having a little trouble understanding how to script a foreach loop, and I'm hoping someone can guide me in the right direction.
I'm creating a class ability that selects from a set of rogue talents. I've identified each valid rogue talent with the tag "abCategory.Inh_tal" I then put in the following eval script:
	
	
	
		
I put in a debug into the script to be sure that all applicable talents where being considered as candidates, which correctly identified all candidates.
But on the class tab, the drop-down menu still shows "Nothing to select". What is my script missing?
				
			I'm creating a class ability that selects from a set of rogue talents. I've identified each valid rogue talent with the tag "abCategory.Inh_tal" I then put in the following eval script:
		Code:
	
	foreach thing in Ability where "abCategory.Inh_tal"
     field[usrCandid1].text = splice(field[usrCandid1].text, eachthing.tagids[thingid.?], " | ")
      nexteach
	But on the class tab, the drop-down menu still shows "Nothing to select". What is my script missing?