|
Third Person Cover Shooter
1.6
|
Public Member Functions | |
| override bool | Request () |
| Return true if an attack can be started. More... | |
| override void | Begin () |
| Start the attack. More... | |
| override void | End () |
| End the attack. More... | |
| override void | BeginScan () |
| Start scanning for hits during the attack. More... | |
| override void | EndScan () |
| Stop scanning for hits during the attack. More... | |
| override void | Moment () |
| Notify all listeners of a melee moment. More... | |
Public Attributes | |
| float | Damage = 20 |
| Damage done by a melee attack. More... | |
| float | Cooldown = 0.5f |
| Time in seconds for to wait for another melee hit. More... | |
| float | DamageResponseWaitTime = 0 |
| Time in seconds between hits that the character will respond to with hurt animations. More... | |
Public Attributes inherited from CoverShooter.BaseMelee | |
| WeaponType | Type = WeaponType.Fist |
| Animations and related assets to be used with this weapon. More... | |
| CharacterMotor | Character |
| Owning object with a CharacterMotor component. More... | |
|
virtual |
Start the attack.
Implements CoverShooter.BaseMelee.
|
virtual |
Start scanning for hits during the attack.
Implements CoverShooter.BaseMelee.
|
virtual |
End the attack.
Implements CoverShooter.BaseMelee.
|
virtual |
Stop scanning for hits during the attack.
Implements CoverShooter.BaseMelee.
|
virtual |
Notify all listeners of a melee moment.
Implements CoverShooter.BaseMelee.
|
virtual |
Return true if an attack can be started.
Implements CoverShooter.BaseMelee.
| float CoverShooter.Melee.Cooldown = 0.5f |
Time in seconds for to wait for another melee hit.
| float CoverShooter.Melee.Damage = 20 |
Damage done by a melee attack.
| float CoverShooter.Melee.DamageResponseWaitTime = 0 |
Time in seconds between hits that the character will respond to with hurt animations.