Third Person Cover Shooter
1.6
|
Triggers a regroup when health falls below a certain threshold. More...
Public Attributes | |
float | Health = 0.4f |
Fraction of health that triggers a regroup. More... | |
Public Attributes inherited from CoverShooter.AIBaseRegrouper | |
float | Radius = 8 |
Maximum distance at which the regrouped actors will stand next to the regrouper. More... | |
float | UncoveredDuration = 8 |
Time in seconds the units will maintain their new uncovered positions before searching for better spots. More... | |
float | CallDistance = 20 |
Distance at which to search for friendly AI that will be regrouped. More... | |
int | Limit = 6 |
Maximum number of regrouped units. More... | |
Protected Member Functions | |
override void | Awake () |
Additional Inherited Members | |
Public Member Functions inherited from CoverShooter.AIBaseRegrouper | |
void | TakePosition (Vector3 value) |
Registers a taken position. More... | |
bool | IsPositionTaken (Vector3 position, float threshold=1.0f) |
Returns true if the given position has been taken by one of the regrouping AIs. More... | |
void | Regroup () |
Finds nearby allies and tells them to regroup. More... | |
Public Member Functions inherited from CoverShooter.AIBase | |
void | Message (string name) |
Sends a message to other components. More... | |
void | Message (string name, object value) |
Sends a message to other components. More... | |
Properties inherited from CoverShooter.AIBaseRegrouper | |
List< Actor > | Friends [get] |
All friends that are regrouping. More... | |
BaseBrain | Brain [get] |
Triggers a regroup when health falls below a certain threshold.
|
protectedvirtual |
Reimplemented from CoverShooter.AIBaseRegrouper.
float CoverShooter.AIRegrouperHealth.Health = 0.4f |
Fraction of health that triggers a regroup.