Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - D&D 5th Edition SRD

Notices

Reply
 
Thread Tools Display Modes
Enforcer84
Senior Member
 
Join Date: Oct 2011
Location: Portland
Posts: 313

Old January 29th, 2018, 08:10 PM
So I have a class special with an index. Looking at the Draconic Bloodline feature, it shows me how to deal with the array picks.

so now I'm looking to add another special depending on the pick.

the current text is: if (field[usrIndex].value = 0) then
perform assign[here's where I have trouble]

I had tried to just assign the feature cTCBCBignug
But that no workie. I'm getting syntax error.

tried cHelpCLS.cTCBCBignug too.

Last edited by Enforcer84; January 29th, 2018 at 08:17 PM.
Enforcer84 is offline   #1 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old January 29th, 2018, 08:53 PM
Quote:
Originally Posted by Enforcer84 View Post
so now I'm looking to add another special depending on the pick.
You can't add Picks using a script. You can bootstrap one pick to another and you can also conditionally bootstrap.

Scripts work with Fields/Tags on Picks.

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   #2 Reply With Quote
dungeonguru
Senior Member
 
Join Date: May 2016
Posts: 608

Old January 30th, 2018, 02:33 AM
For an example of bootstrapping conditionals based on the usrIndex value you can look at the Half-Elf variants in the SCAG Race file.
dungeonguru is offline   #3 Reply With Quote
Enforcer84
Senior Member
 
Join Date: Oct 2011
Location: Portland
Posts: 313

Old January 30th, 2018, 11:14 AM
awesome thank you!
That makes sense.

I decided to go another direction, turns out configurables might be the way to go!
Enforcer84 is offline   #4 Reply With Quote
Reply

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 12:30 AM.


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