View Single Post
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old February 27th, 2020, 12:04 PM
Code:
~ Manual way
field[cCustQuTot].arrayvalue[0] = 0
field[cCustQuTot].arrayvalue[5] = 0

~ Automated loop way
var iX as number

for iX = 0 to field[tcCustQuTot].arrayrows - 1
  field[cCustQuTot].arrayvalue[iX] = 0
  next

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #2 Reply With Quote