This decision returns true if the Character got hit this frame, or after the specified number of hits has been reached.
More...
|
int | NumberOfHits = 1 |
| The number of hits required to return true. More...
|
|
string | Label |
| a label you can set to organize your AI Decisions, not used by anything else More...
|
|
|
virtual bool | EvaluateHits () |
| Checks whether we've been hit enough times More...
|
|
virtual void | OnHit () |
| When we get hit we increase our hit counter More...
|
|
virtual void | OnEnable () |
| Grabs our health component and starts listening for OnHit events More...
|
|
virtual void | OnDisable () |
| Stops listening for OnHit events More...
|
|
virtual void | Awake () |
| On Awake we grab our Brain More...
|
|
This decision returns true if the Character got hit this frame, or after the specified number of hits has been reached.
◆ Decide()
override bool MoreMountains.CorgiEngine.AIDecisionHit.Decide |
( |
| ) |
|
|
virtual |
◆ EvaluateHits()
virtual bool MoreMountains.CorgiEngine.AIDecisionHit.EvaluateHits |
( |
| ) |
|
|
protectedvirtual |
Checks whether we've been hit enough times
- Returns
◆ Initialization()
override void MoreMountains.CorgiEngine.AIDecisionHit.Initialization |
( |
| ) |
|
|
virtual |
◆ OnDisable()
virtual void MoreMountains.CorgiEngine.AIDecisionHit.OnDisable |
( |
| ) |
|
|
protectedvirtual |
Stops listening for OnHit events
◆ OnEnable()
virtual void MoreMountains.CorgiEngine.AIDecisionHit.OnEnable |
( |
| ) |
|
|
protectedvirtual |
Grabs our health component and starts listening for OnHit events
◆ OnEnterState()
override void MoreMountains.CorgiEngine.AIDecisionHit.OnEnterState |
( |
| ) |
|
|
virtual |
◆ OnExitState()
override void MoreMountains.CorgiEngine.AIDecisionHit.OnExitState |
( |
| ) |
|
|
virtual |
◆ OnHit()
virtual void MoreMountains.CorgiEngine.AIDecisionHit.OnHit |
( |
| ) |
|
|
protectedvirtual |
When we get hit we increase our hit counter
◆ _health
Health MoreMountains.CorgiEngine.AIDecisionHit._health |
|
protected |
◆ _hitCounter
int MoreMountains.CorgiEngine.AIDecisionHit._hitCounter |
|
protected |
◆ NumberOfHits
int MoreMountains.CorgiEngine.AIDecisionHit.NumberOfHits = 1 |
The number of hits required to return true.
The documentation for this class was generated from the following file: