Functionality Revision History: Difference between revisions
From HLKitWiki
Jump to navigationJump to search
New page: {{context|Kit Reference}} Beginning with the V3.1 release, a summary of the functional changes and enhancements to the Kit within each release is provided below. *V3.1 ==V3.1 ... |
|||
Line 9: | Line 9: | ||
The following changes and additions were introduced in V3.1. | The following changes and additions were introduced in V3.1. | ||
# | #Extended "foreach" statement to support "foreach thing in component" syntax, which processes all things derived from a specified component. | ||
#Extended "foreach" statement to support "foreach bootstrap in thing", which processes all things that are directly bootstrapped by an identified thing. | |||
#Extended "foreach" statement to support "foreach bootstrap in entity" for use within Description scripts, which processes all things directly attached to the entity associated with the current thing context. | |||
#The "isentity" target reference on picks and things indicates whether the item has a child entity attached. | |||
#The "isgizmo" target reference behaves equally for things as well as picks. | |||
#Picks with attached entities are treated the same as minions with respect to the scheduling of the final condition test. This means the final condition test is scheduled at the time of the latest condition test instead of at the earliest script. This change ensures that a single condition test can be defined on a component so that all child picks can safely test their live state, which depends on the live state of the gizmo, which depends on the live state of the pick that attaches the gizmo. | |||
#When auto-tags are assigned via a bootstrap with a condition test, the tags are only assigned to the pick when the condition test is satisfied. | |||
#Bootstraps can selectively override the values assigned to fields within the bootstrapped pick via the "assignval" child element. | |||
#The "editthing" element can be assigned a "prefix" attribute, which will be used by the Editor to setup an initial unique id for new things created within the Editor. | |||
#History tracking for fields with "stack" behavior supports the "=" operator, which overwrites the current value with the new value specified. | |||
#If a field history entry adds or subtracts a negative value, the operator is automatically inverted and the value is negated, changing entries from "+-3" to "-3". | |||
#The "history" target reference for fields and values supports an optional starting value to be shown in the report. Also, the splicing text can be omitted, in which case ", " is used. | |||
#The "history" attribute for fields has a "changes" option available that omits any adjustments that yield no actual change, such as "+0" or "*1". | |||
#When "best" history tracking is used for fields, any adjustments that fail to apply a meaningful change are ignored (like the "changes" behavior above). | |||
# |
Revision as of 07:18, 18 February 2009
Context: HL Kit … Kit Reference
Beginning with the V3.1 release, a summary of the functional changes and enhancements to the Kit within each release is provided below.
V3.1 Revision History
The following changes and additions were introduced in V3.1.
- Extended "foreach" statement to support "foreach thing in component" syntax, which processes all things derived from a specified component.
- Extended "foreach" statement to support "foreach bootstrap in thing", which processes all things that are directly bootstrapped by an identified thing.
- Extended "foreach" statement to support "foreach bootstrap in entity" for use within Description scripts, which processes all things directly attached to the entity associated with the current thing context.
- The "isentity" target reference on picks and things indicates whether the item has a child entity attached.
- The "isgizmo" target reference behaves equally for things as well as picks.
- Picks with attached entities are treated the same as minions with respect to the scheduling of the final condition test. This means the final condition test is scheduled at the time of the latest condition test instead of at the earliest script. This change ensures that a single condition test can be defined on a component so that all child picks can safely test their live state, which depends on the live state of the gizmo, which depends on the live state of the pick that attaches the gizmo.
- When auto-tags are assigned via a bootstrap with a condition test, the tags are only assigned to the pick when the condition test is satisfied.
- Bootstraps can selectively override the values assigned to fields within the bootstrapped pick via the "assignval" child element.
- The "editthing" element can be assigned a "prefix" attribute, which will be used by the Editor to setup an initial unique id for new things created within the Editor.
- History tracking for fields with "stack" behavior supports the "=" operator, which overwrites the current value with the new value specified.
- If a field history entry adds or subtracts a negative value, the operator is automatically inverted and the value is negated, changing entries from "+-3" to "-3".
- The "history" target reference for fields and values supports an optional starting value to be shown in the report. Also, the splicing text can be omitted, in which case ", " is used.
- The "history" attribute for fields has a "changes" option available that omits any adjustments that yield no actual change, such as "+0" or "*1".
- When "best" history tracking is used for fields, any adjustments that fail to apply a meaningful change are ignored (like the "changes" behavior above).