Third Person Cover Shooter  1.6
CoverShooter.CharacterAlerts Class Reference

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

Inheritance diagram for CoverShooter.CharacterAlerts:
CoverShooter.ICharacterPhysicsListener CoverShooter.ICharacterHealthListener

Public Member Functions

void OnLand ()
 Generates a land alert. More...
 
void OnHit (Hit hit)
 Generates a hurt alert. More...
 
void OnFootstep (Vector3 position)
 Generates a step alert. More...
 
void OnDead ()
 Generates a death alert. More...
 
void OnResurrect ()
 No resurrection alert. More...
 
void OnJump ()
 Generates a jump alert. More...
 

Public Attributes

float Step = 10
 Distance at which step can be heard. More...
 
float Hurt = 10
 Distance at which step can be heard. More...
 
float Death = 10
 Distance at which step can be heard. More...
 
float Jump = 10
 Distance at which step can be heard. More...
 
float Land = 10
 Distance at which step can be heard. More...
 
float Resurrect = 10
 Distance at which character's resurrection will be heard.Alert is not generated if value is zero or negative. More...
 

Detailed Description

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

Member Function Documentation

◆ OnDead()

void CoverShooter.CharacterAlerts.OnDead ( )

Generates a death alert.

Implements CoverShooter.ICharacterHealthListener.

◆ OnFootstep()

void CoverShooter.CharacterAlerts.OnFootstep ( Vector3  position)

Generates a step alert.

Implements CoverShooter.ICharacterPhysicsListener.

◆ OnHit()

void CoverShooter.CharacterAlerts.OnHit ( Hit  hit)

Generates a hurt alert.

◆ OnJump()

void CoverShooter.CharacterAlerts.OnJump ( )

Generates a jump alert.

Implements CoverShooter.ICharacterPhysicsListener.

◆ OnLand()

void CoverShooter.CharacterAlerts.OnLand ( )

Generates a land alert.

Implements CoverShooter.ICharacterPhysicsListener.

◆ OnResurrect()

void CoverShooter.CharacterAlerts.OnResurrect ( )

No resurrection alert.

Implements CoverShooter.ICharacterHealthListener.

Member Data Documentation

◆ Death

float CoverShooter.CharacterAlerts.Death = 10

Distance at which step can be heard.

Alert is not generated if value is zero or negative.

◆ Hurt

float CoverShooter.CharacterAlerts.Hurt = 10

Distance at which step can be heard.

Alert is not generated if value is zero or negative.

◆ Jump

float CoverShooter.CharacterAlerts.Jump = 10

Distance at which step can be heard.

Alert is not generated if value is zero or negative.

◆ Land

float CoverShooter.CharacterAlerts.Land = 10

Distance at which step can be heard.

Alert is not generated if value is zero or negative.

◆ Resurrect

float CoverShooter.CharacterAlerts.Resurrect = 10

Distance at which character's resurrection will be heard.Alert is not generated if value is zero or negative.

◆ Step

float CoverShooter.CharacterAlerts.Step = 10

Distance at which step can be heard.

Alert is not generated if value is zero or negative.


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