UniqHitCount/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: UniqHitCount

Returns the total number of hits the player's current attack move has done. 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:
UniqHitCount
Arguments:
none
Return type:
int
Error conditions:
none

Example:

trigger1 = UniqHitCount = [4,6]
  Triggers when 4, 5 or 6 hits have been dealt since
  the start of the player's attack move.


Personal tools