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

Old January 14th, 2018, 11:38 AM
Quote:
Originally Posted by dungeonguru View Post
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!

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   #5 Reply With Quote