Difference between revisions of "Script Timing Issues"

From HLKitWiki
Jump to: navigation, search
(Overview)
Line 6: Line 6:
 
We'll start this section off by answering the obvious question. What's a timing issue?
 
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.
+
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 causes the evaluation cycle to yield the wrong final results. This section provides some tips on how to recognize and resolve timing issues.
  
 
==How to Recognize a Timing Issue==
 
==How to Recognize a Timing Issue==

Revision as of 15:53, 21 November 2008

[Context: HL KitBasic Concepts and TerminologyDebugging 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 causes the evaluation cycle to yield the wrong final 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