NumEnemy

From M.U.G.E.N Wiki

Jump to: navigation, search



Trigger: NumEnemy

NumEnemy returns the number of opponents that exist. Neutral players and normal helpers are not considered opponents.

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

Examples:

trigger1 = NumEnemy = 2
trigger1 = enemynear(1), name = "Squash"
  Triggers if there are 2 opponents, and the second-closest one is
  named Squash.


Personal tools