Script Timing Issues

From HLKitWiki
Revision as of 22:45, 21 November 2008 by Rob (talk | contribs)
Jump to navigationJump to search

[Context: HL Kit … Basic Concepts and Terminology … Debugging Mechanisms]

Overview

We'll start this section off by answering the obvious question. What's a timing issue?

The evaluation cycle controls the order in which everything is processed for each character, and it's up to the author to make sure that every task is assigned an appropriate phase and priority. A timing issue is the result of scheduling a task in the wrong sequence, which results in the evaluation cycle yielding the wrong results. This section provides some tips on how to recognize and resolve timing issues.

How to Recognize a Timing Issue

when to recognize a timing issue - everything looks good via info windows but the expected behavior still isn't being performed properly

Using the Task List

intra-hero timing issues inter-hero timing issues (masters/minions)

Script Timing Output

debug output of script timing

Debug Output Tracing

debug output of each step in evaluation to monitor the timing and flow