InitFinalize Script: Difference between revisions

From HLKitWiki
Jump to navigationJump to search
New page: {{context|Kit Reference|Script Types}} ==Technical Details== :{| class="scripttable" |class="leftnormal"|Initial Context: |Pick |- |Alternate Context: |None |- |Fields F...
 
 
Line 15: Line 15:
|Where Used:
|Where Used:
|[[Behavior Element (Data)|Global Behavior]]
|[[Behavior Element (Data)|Global Behavior]]
|-
|Procedure Use:
|"finalize" type, "pick" context
|-
|-
|}
|}

Latest revision as of 08:44, 20 February 2009

Context: HL Kit … Kit 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.