NumHelper/fr

From M.U.G.E.N Wiki

Jump to: navigation, search


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



Trigger: NumHelper

This trigger takes an ID number as an optional argument. If the ID number is omitted, then NumHelper returns the total number of helpers currently owned by the player. If the ID number is included, then NumHelper returns the total number of helpers with that ID number owned by the player. The ID number must be greater than 0. If the ID number is 0 or less, then all helpers are counted.

Format:

  1. NumHelper
  2. NumHelper(exprn)

Arguments:
exprn
Expression evaluating to an ID number (int).
Return type:
int
Error conditions:
Returns SFalse if exprn evaluates to SFalse.

Examples:

1. trigger1 = NumHelper < 2
  Triggers if the player now has less than 2 helpers.
2. trigger1 = NumHelper(1234) < 2
  Triggers if the player now has less than 2 helpers with ID 1234.


Personal tools