Third Person Cover Shooter
1.6
|
Triggers a regroup when the number of friends falls below a threshold. More...
Public Attributes | |
int | TriggerCount = 0 |
Regroup is triggered if number of friends is equal or below the value. 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 the number of friends falls below a threshold.
|
protectedvirtual |
Reimplemented from CoverShooter.AIBaseRegrouper.
int CoverShooter.AIRegrouperCompany.TriggerCount = 0 |
Regroup is triggered if number of friends is equal or below the value.