From M.U.G.E.N Wiki
This trigger takes an optional ID number as a suffix. If the ID number is omitted, ProjContact returns true if any of the player's projectiles either successfully hit the opponent or were guarded by the opponent. When the ID number is specified, ProjContact returns true only if any of the player's projectiles with the specified ID number either successfully hit the opponent or was guarded.
- ProjContact[ID] = value
- ProjContact[ID] = value, [oper] value2
- Optional ID number.
- value (boolean)
- Value to compare against. 0 for false, 1 for true.
- =, !=, <, >, <=, >=
- Time value to compare against.
- Return type:
- boolean int
- Error conditions:
ProjContact will trigger once for each hit of the projectile, so a multi-hit projectile can trigger multiple times.
The first form of ProjContact shown above is only valid for one tick after contact, unlike MoveContact.
For the second form, ProjContact returns true if the projectile made contact n ticks ago, where n is a nonnegative number satisfying the relation "n [oper] value2".
Specifying an ID number of 0 gives the same behavior as if the ID number is omitted (check all projectiles).
1. trigger1 = ProjContact1234 = 1 Triggers if a projectile with ID 1234 just made contact with the opponent. 2. trigger1 = ProjContact456 = 0, < 15 Triggers if no projectile with ID 456 made contact in the last 15 ticks.