Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Authoring Kit


Thread Tools Display Modes
Prev Previous Post   Next Post Next
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 12,885

Old December 13th, 2020, 10:51 AM
foreach bootstrap is thing-only. You want foreach pick in gizmo if you want to alter the picks once they're on the character.

Although, actually, why use a foreach to find exactly one thing?

container.childfound[resLPSpecialty].field[resMax].value += parent.field[lpNumSpec].value

Note - that's assuming the pick running this script is a different thing, also bootstrapped alongside resLPSpecialty, within the gizmo - if this is a script on the parent pick, then it would be:

gizmo.childfound[resLPSpecialty].field[resMax].value += field[lpNumSpec].value
Mathias is offline   #21 Reply With Quote

Thread Tools
Display Modes

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 06:27 AM.

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