Thread: Findchild
View Single Post
TCArknight
Senior Member
 
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321

Old March 20th, 2018, 05:55 AM
Quote:
Originally Posted by Mathias View Post
Code:
hero.findchild[component,tag expression]
It seems too that if you know there is always one of a particular component on a hero, then you can do:
Code:
hero.findchild[component]
I did find out that you can use:
Code:
perform hero.findchild[component].setfocus
Then you step through using focus.field[fieldname].text or any way you would use eachpick.X

Are there any potential issues with using findchild instead of the foreach?
Any Benefits?

Working on -
  • (SWADE) WIP Savage Rifts
  • Savage Rifts (Deluxe): Update link in This post
  • Star Trek Adventures: Update link in This post
TCArknight is offline   #4 Reply With Quote