This trigger takes an optional ID number as a suffix. If the ID number is omitted, ProjGuarded returns true if any of the player's projectiles were guarded by the opponent. When the ID number is specified, ProjGuarded returns true only if one of the player's projectiles with the specified ID number was guarded by the opponent.

Format:

ProjGuarded[ID] = value

ProjGuarded[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:

ProjGuarded will trigger once for each hit of the projectile, so a multi-hit projectile can trigger multiple times.

The first form of ProjGuarded shown above is only valid for one tick after hit, unlike MoveGuarded.

For the second form, ProjGuarded returns true if the projectile was guarded n ticks ago, where n is a nonnegative number satisfying the relation "n (oper) value2".

Example:

`trigger1 = ProjGuarded1234 = 1
; Triggers if the opponent just blocked a projectile with ID 1234.
trigger1 = ProjGuarded = 1, < 15
; Triggers if the opponent blocked any projectile in the last 15 ticks.`