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

Returns 1 if a player with the specified ID number exists, 0 otherwise. This ID number is obtained using the "ID" trigger (see ID). Do not confuse PlayerID with TargetID.

Format:
PlayerIDExist(ID_number)
Arguments:
ID_number
An expression that evaluates to the ID number to check for (int)
Return type:
boolean int (1 or 0)
Error conditions:
Returns SFalse if exprn evaluates to SFalse.

Example:

trigger1 = PlayerIDExist(var(4))
  Triggers if a player with an ID number equal to the value of
  var(4) exists.


Personal tools