• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

hero.addpick - undocumented?

TCArknight

Well-known member
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
 
Last edited:
Back
Top