Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - D&D 5th Edition SRD
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Mergon
Senior Member
 
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788

Old September 4th, 2016, 08:28 PM
Anyone know if it is possible for a script set on an animal companion to pull the value of a field from hero whom the animal companion belongs to?

I am trying to create an adjustment for an animal companion that needs to pull the proficiency bonus from the hero it is attached to.

My script works fine when I set the proficiency bonus manual through pAdjust. I am just trying to automate the pulling of the ProfBonus from the owner if it is at all possible.

Watch your back, Conserve your ammo,
and NEVER cut a deal with a dragon!
Mergon is offline   #1 Reply With Quote
Hollis
Senior Member
Lone Wolf Staff
 
Join Date: Aug 2012
Posts: 779

Old September 6th, 2016, 01:40 PM
Adding master.codehere to the beginning of a statement will get you to a minion's master.

For example, master.child[ProfBonus].field[tProfBonus].value will give you the master's proficiency bonus.

Last edited by Hollis; September 8th, 2016 at 06:03 AM.
Hollis is offline   #2 Reply With Quote
Mergon
Senior Member
 
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788

Old September 6th, 2016, 01:42 PM
Many thanks Hollis. it will make my work withminions much, much easier.

Watch your back, Conserve your ammo,
and NEVER cut a deal with a dragon!
Mergon is offline   #3 Reply With Quote
Reply


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 03:22 PM.


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