trevor wrote:
put quotes areound "tblHitLoc", otherwise it'll think it's a variable name
what do you get with the second block ?
Firstly, thanks for the impressive work so far Trevor.
Ok fixed first issue. Using a set of tables similar to:
Quote:
tblAttDesc:
1,wildly swipes
2,expertly stabs
3,viciously slashes
4,causiosly pokes
5,deftly strikes
6,dangerously swings
7,impressively chops
8,expertly strikes
and referencing them like this:
Code:
Ulrich {tbl("tblChrAtt")} and {tbl ("tblAttDesc")} with his <b>Greatsword</b> hitting a {Hit} vs. AC<span title=" "></span><br>His opponent reels back from taking a hit on its {tbl ("tblHitLoc")} for <b>{Damage)}</b> points of damage.</span>
which in turn should return:
Quote:
Ulrich creates an opening and viciously slashes with his greatsword htting a 20 vs. AC. His opponent reels back from taking a hit on its torso for 10 pts of damage.
Problem is that is still get a
Could not execute the command: null error in Maptools if I run the my full script:
Code:
<span title="[Roll = d20][Hit = Roll+Weapon1Bonus+StrBonus+MiscAttBonus][Damage=Weapon1Damage+Weapon1Bonus+StrBonus+MiscAttBonus]">Ulrich {tbl("tblChrAtt")} and {tbl ("tblAttDesc")} with his <b>Greatsword</b> hitting a {Hit} vs. AC<span title=" "></span><br>His opponent reels back from taking a hit on its {tbl ("tblHitLoc")} for <b>{Damage)}</b> points of damage.</span>
Incidently the tables work fine individually.