InitFinalize Script

From HLKitWiki
Revision as of 01:09, 20 February 2009 by Rob (Talk | contribs) (New page: {{context|Kit Reference|Script Types}} ==Technical Details== :{| class="scripttable" |class="leftnormal"|Initial Context: |Pick |- |Alternate Context: |None |- |Fields F...)

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

Context: HL KitKit Reference … Script Types 

Technical Details

Initial Context: Pick
Alternate Context: None
Fields Finalized? No
Where Used: Global Behavior

The InitFinalize script utilizes the following special symbols:

value (Number) Entry: The current value of the initiative determined for the actor.

Exit: Ignored.

text (String) Entry: The current initiative value converted to a string.

Exit: The contents to be used for finalized version of the field. The text may contain encoding.

Description

The InitFinalize script is a special-purpose instance of a normal Finalize script. The value being finalized is the initiative value calculated for an actor via the Initiative script. In all respects, this script behaves as a standard Finalize script, except that there are no other field values that can be accessed via the initial pick context.

Example

This is a standard Finalize script, so the example for that script can be referenced.