Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
bodrin
Senior Member
 
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265

Old July 28th, 2013, 11:54 AM
I'm trying to develop an adjustment that shows the Hit point total of a selected armor.

I've managed to create this

Final Phase 10000

Code:
~ If we're not enabled, get out now
      doneif (field[pIsOn].value = 0)

~ Lets multiply our armor bonus by 10 which should give us our HP total
  field[abValue].value += round(field[arBonus].value * 10,0,-1) 

~ Now lets add to the Hit point total to our name 
  field[livename].text &= "Armor HP " & field[abValue].value
which compiles but I get this error when HL loads

HTML Code:
Attempt to access field 'arBonus' that does not exist for thing 'pBodObHdHp'
Likewise same error if I substitute arBonus with tACArmor.
Any suggestions.

Dormio Forte Somnio


Community Created Resources :
Data Package Repositories :
d20pfsrd
Custom Character Sheets
Community Server Setup (Packs)

Hero Lab Help- Video Tutorials and Pathfinder FAQ

Created by the community for the community
bodrin is offline   #1 Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 01:06 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.