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

Old February 15th, 2018, 04:41 PM
Nope, no luck.

Quote:
Originally Posted by procedure
<procedure id="BldDiceStr" scripttype="eval"><![CDATA[
~declare variables that are used to communicate with our caller
var prof as number
var abil as number
var setback as number
var boost as number
var myText as string

while (prof > 0)
myText &= "{bmp d8_screen}"
prof -= 1
loop
while (abil > 0)
myText &= "{bmp dicepool}"
abil -= 1
loop]]></procedure>
Quote:
Originally Posted by eval script on Skill trait
<eval index="7" phase="Render" priority="5000"><![CDATA[
~only access the linkage if the skill is directly on the hero; if not, it is
~likely within an advancement gizmo and no linkage will exist there
var prof as number
var abil as number
var setback as number
var boost as number
var advant as number
var myText as string

if (container.ishero <> 0) then
prof = minimum(field[trtFinal].value,linkage[attribute].field[trtFinal].value)
abil = maximum(field[trtFinal].value,linkage[attribute].field[trtFinal].value) - prof
setback = field[trtSetback].value
boost = field[trtBoost].value
advant = field[trtAdvant].value
myText = ""

Call BldDiceStr
field[sklPoolBas].text = myText

Call DicePoolEx
field[sklPool].text = myText
endif
]]></eval>
Quote:
Originally Posted by field on Skill trait
<!-- Skill pool includes Base + any Boosts, setbacks, etc. -->
<field
id="sklPool"
name="Skill Pool"
type="derived"
maxlength="10">
</field>
Could it be the timing?

Working on -
  • (SWADE) WIP Savage Rifts
  • Savage Rifts (Deluxe): Update link in This post
  • Star Trek Adventures: Update link in This post

Last edited by TCArknight; February 15th, 2018 at 04:46 PM.
TCArknight is offline   #9 Reply With Quote