Returns 1 if the player is within guarding distance of an opponent's physical or projectile attack. The guarding distance is the value of the guard.dist parameter of the opponent's HitDef. Returns 0 if out of guard distance, or the opponent is not attacking.

Format: InGuardDist

Arguments:

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

Error conditions: none

Example:

none