Skeleton File Changes V3.1: Difference between revisions

From HLKitWiki
Jump to navigationJump to search
New page: {{context|Kit Reference|Skeleton Data File Revision History}} ====File: "actor.str"==== Line 163: Change the reference to the "trtLeft" field to "trtUser". Line 221: Replace the Eval sc...
 
No edit summary
Line 1: Line 1:
{{context|Kit Reference|Skeleton Data File Revision History}}
{{context|Kit Reference|Skeleton Data File Revision History}}


====File: "actor.str"====
===File: "actor.str"===


Line 163: Change the reference to the "trtLeft" field to "trtUser".
Line 163: Change the reference to the "trtLeft" field to "trtUser".
Line 20: Line 20:
</pre>
</pre>


====File: "advancement.core"====
===File: "advancement.core"===


====Next====
===Next===

Revision as of 05:21, 19 February 2009

Context: HL Kit &#133; Kit Reference &#133; Skeleton Data File Revision History 

File: "actor.str"

Line 163: Change the reference to the "trtLeft" field to "trtUser".

Line 221: Replace the Eval script with the revised script below.

<eval index="1" phase="Final" priority="1000"><![CDATA[
  ~if no damage has been incurred, assign a tag to indicate that state
  if (field[acHPNow].value >= field[acHPMax].value) then
    perform hero.assign[Hero.NoDamage]

  ~if the hero is dead or otherwise out of combat, indicate that state
  elseif (field[acHPNow].value = 0) then
    perform hero.assign[Hero.Dead]
    endif
  ]]></eval>

File: "advancement.core"

Next