InitFinalize Script

From HLKitWiki
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
Procedure Use: "finalize" type, "pick" context

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.