Quote:
Originally Posted by dungeonguru
ShadowChemosh,
I'm trying your procedure code out and getting a generic error on the line:
"Invalid ID specified for component" on the line
Code:
hero.findchild["BaseSkill",v_SkillID].setfocus
Same happens when I try the focus method
Code:
hero.childfound[skAcrobat].setfocus
except the error states "unspecified error parsing script"
Something with 5e maybe doesn't like focusing on skills?
|
Oppss I was a little distracted while writting this.
This:
Code:
hero.findchild["BaseSkill",v_SkillID].setfocus
Should be this:
Code:
perform hero.findchild[BaseSkill,v_SkillID].setfocus
The component should not have quotes and it needs "perform".
Similiar this:
Code:
hero.childfound[skAcrobat].setfocus
should be:
Code:
perform hero.childfound[skAcrobat].setfocus
setfocus is a "perform" type action like working with tags. Sorry!