View Single Post
Mathias
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