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:
In a bit of experimentation, it seems:
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
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: