Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Authoring Kit

Notices

Reply
 
Thread Tools Display Modes
TCArknight
Senior Member
 
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,019

Old August 18th, 2018, 09:29 PM
Hi all!

In looking at various idea for a dataset I’m working on I came across this gem of a bit of code in an example Aaron provided:
Code:
perform hero.addpick[a,b]
In a bit of experimentation, it seems:
  • a = id of a table_dynamic that would contain the component b
  • b = (string) idstring of Thing to be added

So, given a table_dynamic with an id=“TalentTable” and compset=“Talent” and a Talent thing with the idstring of “talObservation” the execution of perform hero.addpick[TalentTable,”talObservation”]. Will cause the Observation talent to then be added to the TalentTable as if the user had gone to the table and added it directly.

Has anyone else seen or used this statement?

Mathias or Aaron, am I missing anything with this?

TC

Working on -

Last edited by TCArknight; August 18th, 2018 at 09:31 PM.
TCArknight is online now   #1 Reply With Quote
TCArknight
Senior Member
 
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,019

Old August 29th, 2018, 07:47 AM
Any thoughts on this?

Working on -
TCArknight is online now   #2 Reply With Quote
risner
Senior Member
Volunteer Data File Contributor
 
Join Date: Jun 2010
Posts: 616

Old September 4th, 2018, 06:22 PM
When would you use it to add picks to a table?
risner is offline   #3 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 08:00 PM.


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