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.

Format:

ProjHit[ID] = value

ProjHit[ID] = value, [oper] value2

Arguments:

- [ID]: Optional ID number.
- [oper]: =, !=, <, >, <=, >=
- value (boolean): Value to compare against. 0 for false, 1 for true.
- value2 (int): Time value to compare against.

Return type: boolean (0 if false or 1 if true)

Error conditions: none

Details:

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".

Example:

`trigger1 = ProjHit1234 = 1
; Triggers if a projectile with ID 1234 just made successful contact with the opponent.
trigger1 = ProjHit1234 = 1, < 15
; Triggers if any of the player's projectiles made successful contact with the opponent within the last 15 ticks.`