Hero Context
Places you can travel to:
- childfound[Child's Id] or child[[Child's Id]
- test: childlives[Child's Id]
- This travels to the pick context of a specific child. If there is more than one child with that Id, it will pick one at random to travel to. Generally, use childfound[] as opposed to child[] - if that child isn't actually there to travel to, child[] will report errors will be hard to understand. Childfound[] won't report any errors.
- herofield[Field's Id]
- This travels to the field context of a specific field on the special "herofield" pick that's used to store hero-wide information (this is actually a shortcut for hero.child[Totals].field[Field's Id]).
Questions you can ask:
- tagis[Group Id.Tag Id]
- TRUE/FALSE: Is the listed tag present here?
- tagcount[Group Id.Tag Id]
- How many of the listed tag are present here?
Instructions you can give:
- assign[Group Id.Tag Id]
- Add 1 copy of the listed tag here.
- delete[Group Id.Tag Id]
- Delete ALL copies of the listed tag here.
- tagreplace[Group Id.Tag Id,Group Id.Tag Id]
- Delete all copies of the first of those listed tags, then assign 1 copy of the second of those listed tags (this is a shortcut for delete[], then assign[]).
(Those lists are actually just the most common operations - a more complete list is available here:
http://hlkitwiki.wolflair.com/index....tainer_Context and
http://hlkitwiki.wolflair.com/index.php5/Hero_Context)