How does one use an "arrayval"? According to
the documentation, a Thing may have zero or more arrayvals, and that matches the
DTD, but when I try to build one, I get an error message of "Encountered unknown element tag 'arrayval'", which seems to suggest that it's not a valid tag. Here's a Skill which uses it, and the relevant field in the trait file.
Quote:
<thing
id="skCarbine"
name="Carbines"
compset="Skill"
isunique="yes"
description="Use your Carbines skill when firing carbine class weapons. As the weapons most commonly issued to infantry, carbines offer versatility and lethality. They are designed for quick carry, ease of use, and close-quarters action">
<fieldval field="trtAbbrev" value="Car"/>
<arrayval field="trtSpec" index="0" value="Beam"/>
<arrayval field="trtSpec" index="1" value="Non-Lethal"/>
<arrayval field="trtSpec" index="2" value="Projectile"/>
<tag group="Skills" tag="Combat"/>
</thing>
|
Quote:
<component
id="Skill"
name="Skill"
autocompset="no"
panellink="skills">
<field
id="trtSpec"
name="Specialty"
type="user">
</field>
....
|