Scene Context

From HLKitWiki
Revision as of 06:06, 7 December 2008 by Rob (Talk | contribs) (New page: {{context|Kit Reference|Context Transitions}} See Also: Scene Target References From within a "scene" context, you can utilize the following set of valid context transitions: :{| cl...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Context: HL KitKit Reference … Context Transitions 

See Also: Scene Target References

From within a "scene" context, you can utilize the following set of valid context transitions:

layout[id] Transitions to the layout context corresponding to the layout within the current scene that possesses the id specified. If the layout does not exist within the scene, the transition fails to resolve.

Example: this.layout[mylayout]

container Transitions to the container context corresponding to the container to which the scene applies, whether it be an actor or a gizmo.

Example: this.container
NOTE! After transitioning, access within the new container context will be read-only and limited in what information can be retrieved.
NOTE! This transition can only be used as the first transition when within a visual script.

hero Transitions to the hero context corresponding to the hero to which the scene applies.

Example: this.hero
NOTE! After transitioning, access within the new hero context will be read-only and limited in what information can be retrieved.
NOTE! This transition can only be used as the first transition when within a visual script.