Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
I am having an issue with a chooser_table and a choosesortset.
Portal: Code:
<portal id="hoSpecies" style="chsNormal" width="110"> <chooser_table component="Species" choosetemplate="SimpleItem" choosesortset="SpecSort"> <chosen><![CDATA[ if (@ispick = 0) then @text = "{text clrwarning}Select Species" else @text = "Species: " & field[name].text endif ]]></chosen> <titlebar><![CDATA[ @text = "Choose the Species for your character" ]]></titlebar> </chooser_table> </portal> Code:
<!-- Species Cat group --> <group id="SpecCat" sequence="explicit"> <value id="Player" order="10"/> <value id="NPC" order="20"/> </group> Code:
<!-- SpecSort - Species sortset --> <sortset id="SpecSort" name="Species Sort"> <sortkey isfield="no" id="SpecCat"/> <sortkey isfield="no" id="_Name_"/> </sortset> Code:
<thing id="spcHdrPlay" name="Player" compset="Species" uniqueness="unique" isshowonly="yes"> <usesource source="ENT"/> <usesource source="TOS"/> <usesource source="TNG"/> <tag group="SpecCat" tag="Player"/> <tag group="SimpleItem" tag="CenterName"/> </thing> <thing id="spcHdrNPC" name="NPC" compset="Species" uniqueness="unique" isshowonly="yes"> <usesource source="ENT"/> <usesource source="TOS"/> <usesource source="TNG"/> <tag group="SpecCat" tag="NPC"/> <tag group="SimpleItem" tag="CenterName"/> </thing> <thing id="spcAndor" name="Andorian" description="desc here" compset="Species" uniqueness="unique"> <usesource source="ENT"/> <usesource source="TOS"/> <usesource source="TNG"/> <tag group="SpecCat" tag="Player"/> <tag group="SpeciesBon" tag="attrsys02"/> <tag group="SpeciesBon" tag="attrsys01"/> <tag group="SpeciesBon" tag="attrsys05"/> <bootstrap thing="trAndorian"></bootstrap> </thing> <thing id="spcKlingon" name="Klingon" description="desc here" compset="Species" uniqueness="unique"> <usesource source="ENT"/> <usesource source="TOS"/> <usesource source="TNG"/> <tag group="SpeciesBon" tag="attrsys05"/> <tag group="SpecCat" tag="NPC"/> <tag group="SpeciesBon" tag="attrsys02"/> <tag group="SpeciesBon" tag="attrsys03"/> <bootstrap thing="trKlingon"></bootstrap> </thing> Code:
PLAYER ANDORIAN HUMAN KLINGON TRILL VULCAN Thanks! TC Last edited by TCArknight; October 22nd, 2017 at 10:21 AM. |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
I don't see anything wrong. Check the tags in your species compset - do you have SpecCat.Player being assigned as a component tag?
|
#2 |
Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
::sigh:: I have to chalk this one up to an Id10T error...
I had a different portal, stSpecies buried in the form_static.dat file and was using it in my layout instead of the intended hoSpecies portal. Hopefully this will help others if they do something similar... lol |
#3 |
|
|