Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Authoring Kit (http://forums.wolflair.com/forumdisplay.php?f=58)
-   -   hero.addpick - undocumented? (http://forums.wolflair.com/showthread.php?t=61101)

TCArknight August 18th, 2018 08:29 PM

hero.addpick - undocumented?
 
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

TCArknight August 29th, 2018 06:47 AM

Any thoughts on this? :)

risner September 4th, 2018 05:22 PM

When would you use it to add picks to a table?


All times are GMT -8. The time now is 01:51 AM.

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