|
TopDown Engine v4.5
|
An AIACtion used to request a reload on the weapon. More...
Public Member Functions | |
| override void | Initialization () |
| On init we grab our components. | |
| override void | PerformAction () |
| Requests a reload. | |
| override void | OnEnterState () |
| On enter state we reset our counter. | |
| Public Member Functions inherited from MoreMountains.Tools.AIAction | |
| void | PerformAction () |
| virtual void | OnExitState () |
| Describes what happens when the brain exits the state this action is in. Meant to be overridden. | |
Public Attributes | |
| bool | OnlyReloadOnceInThisSate = true |
| Public Attributes inherited from MoreMountains.Tools.AIAction | |
| InitializationModes | InitializationMode |
| whether initialization should happen only once, or every time the brain is reset | |
| string | Label |
| a label you can set to organize your AI Actions, not used by anything else | |
Protected Attributes | |
| CharacterHandleWeapon | _characterHandleWeapon |
| bool | _reloadedOnce = false |
| Protected Attributes inherited from MoreMountains.Tools.AIAction | |
| bool | _initialized |
| AIBrain | _brain |
Additional Inherited Members | |
| Public Types inherited from MoreMountains.Tools.AIAction | |
| enum | InitializationModes { EveryTime , OnlyOnce } |
| Protected Member Functions inherited from MoreMountains.Tools.AIAction | |
| virtual void | Awake () |
| On Awake we grab our AIBrain. | |
| Properties inherited from MoreMountains.Tools.AIAction | |
| virtual bool | ActionInProgress [get, set] |
| virtual bool | ShouldInitialize [get] |
An AIACtion used to request a reload on the weapon.
|
virtual |
On init we grab our components.
Reimplemented from MoreMountains.Tools.AIAction.
|
virtual |
On enter state we reset our counter.
Reimplemented from MoreMountains.Tools.AIAction.
| override void MoreMountains.TopDownEngine.AIActionReload.PerformAction | ( | ) |
Requests a reload.
|
protected |
|
protected |
| bool MoreMountains.TopDownEngine.AIActionReload.OnlyReloadOnceInThisSate = true |