Third Person Cover Shooter  1.6
CoverShooter.AIGrenadeSettings Struct Reference

Settings for AI grenades. More...

Static Public Member Functions

static AIGrenadeSettings Default ()
 Default settings. More...
 

Public Attributes

int GrenadeCount
 Number of grenades the AI will throw. More...
 
float FirstCheckDelay
 Time in seconds since becoming alerted to wait before throwing a grenade. More...
 
float CheckInterval
 AI will only throw a grenade if it can hit the enemy. More...
 
float Interval
 Time in seconds to wait before throwing a grenade after already having thrown one. More...
 
float MaxRadius
 Maximum allowed distance between a landed grenade and the enemy. More...
 
float AvoidDistance
 Distance to maintain against grenades. More...
 

Detailed Description

Settings for AI grenades.

Member Function Documentation

◆ Default()

static AIGrenadeSettings CoverShooter.AIGrenadeSettings.Default ( )
static

Default settings.

Member Data Documentation

◆ AvoidDistance

float CoverShooter.AIGrenadeSettings.AvoidDistance

Distance to maintain against grenades.

◆ CheckInterval

float CoverShooter.AIGrenadeSettings.CheckInterval

AI will only throw a grenade if it can hit the enemy.

CheckInterval defines the time between checks.

◆ FirstCheckDelay

float CoverShooter.AIGrenadeSettings.FirstCheckDelay

Time in seconds since becoming alerted to wait before throwing a grenade.

◆ GrenadeCount

int CoverShooter.AIGrenadeSettings.GrenadeCount

Number of grenades the AI will throw.

◆ Interval

float CoverShooter.AIGrenadeSettings.Interval

Time in seconds to wait before throwing a grenade after already having thrown one.

◆ MaxRadius

float CoverShooter.AIGrenadeSettings.MaxRadius

Maximum allowed distance between a landed grenade and the enemy.

Throws with greater result distance are cancelled.


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