This trigger takes an optional positive ID number as a suffix. If the ID number is omitted, ProjHit returns true if any of the player's projectiles successfully hit the opponent. When the ID number is specified, ProjHit returns true only if one of the player's projectiles with the specified ID number successfully hit the opponent.
1.) ProjHit[ID] = value
2.) ProjHit[ID] = value, [oper] value2
Optional ID number.
Value to compare against. 0 for false, 1 for true.
=, !=, <, >, <=, >=
Time value to compare against.
ProjHit will trigger once for each hit of the projectile, so a multi-hit projectile can trigger multiple times.
The first form of ProjHit shown above is only valid for one tick after hit, unlike MoveHit.
For the second form, ProjHit returns true if the projectile hit 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 = ProjHit1234 = 1
Triggers if a projectile with ID 1234 just made successful
contact with the opponent.
2. trigger1 = ProjHit1234 = 1, < 15
Triggers if any of the player's projectiles made successful
contact with the opponent within the last 15 ticks.
Projectile (SCTRL) 1.0 + 1.1b