View Single Post
TCArknight
Senior Member
 
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321

Old December 5th, 2020, 08:16 AM
It does look like this works when a separate portal on the agent tab.
Code:
<portal id="childSpecialty" 
  style="chsNormal" 
  width="110">
  <chooser_table 
    component="Specialty" 
	choosetemplate="SimpleItem"
	useagentcandidate="yes"
        candidatefield="specExpr">
    <chosen><![CDATA[
      if (@ispick = 0) then
        @text = "{text ff0000}Select Specialty"
      else
        @text = "Specialty: " & field[name].text
        endif
      ]]></chosen>
    <titlebar>
      @text = "Choose your Specialty"
      </titlebar>
    </chooser_table>
  </portal>
(In this case, specExpr is a field on the Childhood component (the agent) holding the candidate expression of the available Specialties for that Childhood selection.)

If this didn't work, is there a way to limit the number of picks on a table_dynamic ? The only way I figured to do it was to have an autotag on the table that got forwarded to the hero with the first selection. If that tag was present, it changed the font of the additem statement and did a freeze on the table. (I also just spotted the showfrozenfixed="yes" property for the table_dynamic that I could use for this as well...)

Working on -
  • (SWADE) WIP Savage Rifts
  • Savage Rifts (Deluxe): Update link in This post
  • Star Trek Adventures: Update link in This post
TCArknight is offline   #6 Reply With Quote