Script Types: Difference between revisions
No edit summary |
|||
Line 19: | Line 19: | ||
*{{fl|Description Script}} | *{{fl|Description Script}} | ||
*{{fl|MouseInfo Script}} | *{{fl|MouseInfo Script}} | ||
*{{fl| | *{{fl|TitleBar Script}} | ||
*{{fl|HeaderTitle Script}} | *{{fl|HeaderTitle Script}} | ||
*{{fl|AddItem Script}} | *{{fl|AddItem Script}} |
Revision as of 10:50, 12 December 2008
Context: HL Kit … Kit Reference
The Kit leverages a diverse assortment of scripts for a wide range of purposes. The topics below provide a brief discussion of both the role and behavior of each different type of script. The scripts have been grouped into general categories for improved utility.
[TBD]
Visual Positioning
These scripts manage the size and positioning of visual elements within panels and sheets.
Synthesis & Presentation
These scripts synthesize information for display to the user in some fashion, including labels, descriptions, mouse-over information, and stat blocks.
- Label Script
- Description Script
- MouseInfo Script
- TitleBar Script
- HeaderTitle Script
- AddItem Script
- Chosen Script
- LeadSummary Script
- Synthesize Script
Pick Manipulation
These scripts manipulate the contents of picks during the evaluation cycle.
Field Manipulation
These scripts manipulate the contents of fields for both display and constraint.
Validation
These scripts apply validation tests to objects with integrated reporting of errors.
Creation/Deletion
These scripts perform appropriate setup and cleanup of specialized objects.
Transaction
These scripts are associated with the buying and selling of equipment.
Mode Transition
These scripts associated with the transition into and out of advancement mode.
Trigger
These scripts are invoked in direct response to user actions, such as merging and splitting stackable gear, controlling combat and turns, etc.
- Trigger Script
- Integrate Script
- NewCombat Script
- NewTurn Script
- Initiative Script
- Merge Script
- Split Script
- Change Script
Fixup
These scripts are used to accommodate changes between data file releases and potential loading errors of portfolios.