Thanks Mathias problem solve.
Now I have issues with the "race info" portal.
I only display the "info" if the race is selected but only shows 7 lines of text instead of all the info.
I try to change the height of the portal (portal[raInfoTbl].height = 100) but nothing changes.
this is the code:
Code:
<!-- raRaceInfo template
Displays info for the current race in a large template area.
-->
<template
id="raRaceInfo"
name="Trait Pick"
compset="Trait">
<portal
id="details"
style="lblNormal">
<label
ismultiline="yes">
<labeltext><![CDATA[
var descript as string
var nodescript as number
nodescript = 1
call Descript
@text = "{align left}" & descript
]]></labeltext>
</label>
</portal>
<position><![CDATA[
~set up our height based on our tallest portal
portal[details].width = width
height = portal[details].textheight
]]></position>
</template>
<layout
id="race">
<portalref portal="raTitle"/>
<portalref portal="chRace" taborder="10"/>
<portalref portal="Horizontal"/>
<portalref portal="raInfoTbl"/>
<position><![CDATA[
~position and size the tables to span the full layout
portal[raTitle].top = 20
portal[raTitle].left = 20
portal[chRace].top = 20
portal[chRace].width = width / 2
portal[chRace].left = portal[raTitle].width + 30
portal[chRace].height = 20
~set the separator width and position it beneath the attributes
portal[Horizontal].width = portal[raTitle].width + portal[chRace].width - 10
portal[Horizontal].top = portal[chRace].bottom + 15
portal[Horizontal].left = portal[raTitle].left + 20
if (hero.tagis[Race.?] = 0) then
portal[raInfoTbl].visible = 0
endif
portal[raInfoTbl].left = portal[Horizontal].left
portal[raInfoTbl].width = width - (portal[raInfoTbl].left * 2)
portal[raInfoTbl].top = portal[Horizontal].bottom + 20
~portal[raInfoTbl].height = height - portal[raInfoTbl].top
]]></position>
</layout>
Other issue that can't figure it out is the "Icon mouseover text".
I know how to do it with an info icon but in the d20 class panel, for each class, they show different icons:
attack saves spells and special
When you "moseover" on the icon a text appears (like info) moreover in each case the texts corresponding to your class level is in bold other text is gray.
Maybe this is more advanced than the things I'm doing and I still need a lot of traits to the game: Saves for example but all the help will be appreciated.
Thanks again
Roy
By the way the wikipage you linked to me is empty.