Third Person Cover Shooter  1.6
CoverShooter.GunAlerts Class Reference

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

Inheritance diagram for CoverShooter.GunAlerts:
CoverShooter.IGunListener

Public Member Functions

void OnPump ()
 Broadcast pump alert. More...
 
void OnRechamber ()
 Broadcast rechamber alert. More...
 
void OnEject ()
 Broadcast eject event. More...
 
void OnFire (float delay)
 Generates a land alert. More...
 
void OnEmptyFire ()
 Broadcast empty fire alert. More...
 
void OnMagazineLoadStart ()
 Generates a hurt alert. More...
 
void OnFullyLoaded ()
 Event spawned all the bullets are loaded. More...
 
void OnBulletLoad ()
 Bullet load event. More...
 
void OnPumpStart ()
 Event spawned before pumping. More...
 
void OnBulletLoadStart ()
 Event spawned when bullet loading starts. More...
 

Public Attributes

float Fire = 20
 Distance at which fire can be heard. More...
 
float EmptyFire = 20
 Distance at which a failed fire attempt can be heard. More...
 
float Reload = 10
 Distance at which reloads can be heard. More...
 

Detailed Description

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

Member Function Documentation

◆ OnBulletLoad()

void CoverShooter.GunAlerts.OnBulletLoad ( )

Bullet load event.

Implements CoverShooter.IGunListener.

◆ OnBulletLoadStart()

void CoverShooter.GunAlerts.OnBulletLoadStart ( )

Event spawned when bullet loading starts.

Implements CoverShooter.IGunListener.

◆ OnEject()

void CoverShooter.GunAlerts.OnEject ( )

Broadcast eject event.

/

Implements CoverShooter.IGunListener.

◆ OnEmptyFire()

void CoverShooter.GunAlerts.OnEmptyFire ( )

Broadcast empty fire alert.

Implements CoverShooter.IGunListener.

◆ OnFire()

void CoverShooter.GunAlerts.OnFire ( float  delay)

Generates a land alert.

Implements CoverShooter.IGunListener.

◆ OnFullyLoaded()

void CoverShooter.GunAlerts.OnFullyLoaded ( )

Event spawned all the bullets are loaded.

Implements CoverShooter.IGunListener.

◆ OnMagazineLoadStart()

void CoverShooter.GunAlerts.OnMagazineLoadStart ( )

Generates a hurt alert.

Implements CoverShooter.IGunListener.

◆ OnPump()

void CoverShooter.GunAlerts.OnPump ( )

Broadcast pump alert.

Implements CoverShooter.IGunListener.

◆ OnPumpStart()

void CoverShooter.GunAlerts.OnPumpStart ( )

Event spawned before pumping.

Implements CoverShooter.IGunListener.

◆ OnRechamber()

void CoverShooter.GunAlerts.OnRechamber ( )

Broadcast rechamber alert.

Implements CoverShooter.IGunListener.

Member Data Documentation

◆ EmptyFire

float CoverShooter.GunAlerts.EmptyFire = 20

Distance at which a failed fire attempt can be heard.

◆ Fire

float CoverShooter.GunAlerts.Fire = 20

Distance at which fire can be heard.

Alert is not generated if value is zero or negative.

◆ Reload

float CoverShooter.GunAlerts.Reload = 10

Distance at which reloads can be heard.

Alert is not generated if value is zero or negative.


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