View Single Post
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 12,849

Old June 17th, 2012, 05:01 PM
Pick Context



Places you can travel to:
  • field[Field Id]
    • This travels to the field context of the specific field that's within this pick.
  • hero
    • Travels to the hero container on the character.
  • container
    • Travels to whatever container this pick is in - either the hero or to a gizmo
  • parent
    • Only use this if you are sure you're in a gizmo, not the hero.
    • This travels to the pick context of the pick that contains the gizmo that contains this pick.
  • root
    • Test: isroot
    • Travels to the pick that bootstrapped this pick. Usually, this is used to get from a class special to the class.
  • linkage[varies]
    • Test: islinkage[varies]
    • This is only available on an archetype.
    • Travels to the pick context of the class that this archetype modifies.
  • linkage[skillattr]
    • Test: islinkage[skillattr]
    • This is only available on a skill.
    • Travels to the pick context of the attribute that this skill is linked to.
  • linkage[table]
    • Test: islinkage[table]
    • This is only available for Cleric Domains and Custom Abilities (like Rogue Talents, Wizard Schools, Barbarian Rage Powers, Sorcerer Bloodlines, etc.).
    • Travels to the pick context of the class this ability was added to.
  • gizmo
    • Test: isgizmo
    • This travels to the gizmo container that's within the pick. Remember that most picks will not have a gizmo.
  • gearholder
    • Test: isgearheld
    • This travels to the pick context of the pick this item is held within.
  • 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?
  • isuser
    • TRUE/FALSE: Was this added by the user? (If it's false, it must have been bootstrapped).
  • isgearlist
    • TRUE/FALSE: Are we allowed to hold other gear?
  • isholdable
    • TRUE/FALSE: Are we allowed to be held by another piece of gear?
  • gearcount
    • How many items are we currently holding?
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[]).
These lists are the most common things you'll do in the pick context. A more complete list is available at: http://hlkitwiki.wolflair.com/index....xt#transitions

Last edited by Mathias; June 17th, 2012 at 05:12 PM.
Mathias is offline   #3 Reply With Quote