HitCount/ja

From M.U.G.E.N Wiki

Jump to: navigation, search


This page is in progress of being translated to ja. You can help translating it or go to another language version that follows:



Trigger: HitCount

Returns the number times the player's current attack move has hit one or more opponents. This value is valid only for a single state; after any state change, it resets to 0. To prevent it from resetting to 0, set hitcountpersist in the StateDef (see cns documentation for details). The HitCount and UniqHitCount triggers differ only when the player is hitting more than one opponent. In the case where the player is hitting two opponents with the same attack, HitCount will increase by 1 for every hit, while UniqHitCount increases by 2.

Format:
HitCount
Arguments:
none
Return type:
int
Error conditions:
none

Example:

trigger1 = HitCount > 8
  Triggers when more than 8 hits have been dealt to the
  opponent since the start of the player's attack move.


Personal tools