Third Person Cover Shooter  1.6
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties
CoverShooter.MeleeAlerts Class Reference

Generates alerts for the AI to pick up on various melee events. More...

Inheritance diagram for CoverShooter.MeleeAlerts:
CoverShooter.IMeleeListener

Public Member Functions

void OnMeleeAttack ()
 Generates a melee attack alert. More...
 
void OnMeleeHit ()
 Generates a melee hit alert. More...
 
void OnMeleeMoment ()
 Generates a melee moment alert. More...
 

Public Attributes

float Attack = 0
 Distance at which any attack can be heard. More...
 
float Hit = 20
 Distance at which a hit can be heard. More...
 
float Moment = 0
 Distance at which a melee moment can be heard. More...
 

Detailed Description

Generates alerts for the AI to pick up on various melee events.

Member Function Documentation

◆ OnMeleeAttack()

void CoverShooter.MeleeAlerts.OnMeleeAttack ( )

Generates a melee attack alert.

Implements CoverShooter.IMeleeListener.

◆ OnMeleeHit()

void CoverShooter.MeleeAlerts.OnMeleeHit ( )

Generates a melee hit alert.

Implements CoverShooter.IMeleeListener.

◆ OnMeleeMoment()

void CoverShooter.MeleeAlerts.OnMeleeMoment ( )

Generates a melee moment alert.

Implements CoverShooter.IMeleeListener.

Member Data Documentation

◆ Attack

float CoverShooter.MeleeAlerts.Attack = 0

Distance at which any attack can be heard.

Alert is not generated if value is zero or negative.

◆ Hit

float CoverShooter.MeleeAlerts.Hit = 20

Distance at which a hit can be heard.

Alert is not generated if value is zero or negative.

◆ Moment

float CoverShooter.MeleeAlerts.Moment = 0

Distance at which a melee moment can be heard.

Alert is not generated if value is zero or negative.


The documentation for this class was generated from the following file: