Add this component to an object containing multiple weapons and it'll turn it into a ComboWeapon, allowing you to chain attacks from all the different weapons
More...
Add this component to an object containing multiple weapons and it'll turn it into a ComboWeapon, allowing you to chain attacks from all the different weapons
◆ FlipUnusedWeapons()
virtual void MoreMountains.CorgiEngine.ComboWeapon.FlipUnusedWeapons |
( |
| ) |
|
|
virtual |
Flips all unused weapons so they remain properly oriented
◆ Initialization()
virtual void MoreMountains.CorgiEngine.ComboWeapon.Initialization |
( |
| ) |
|
|
virtual |
Grabs all Weapon components and initializes them
◆ InitializeUnusedWeapons()
virtual void MoreMountains.CorgiEngine.ComboWeapon.InitializeUnusedWeapons |
( |
| ) |
|
|
protectedvirtual |
Initializes all unused weapons
◆ ResetCombo()
virtual void MoreMountains.CorgiEngine.ComboWeapon.ResetCombo |
( |
| ) |
|
|
virtual |
Resets the combo if enough time has passed since the last attack
◆ Start()
virtual void MoreMountains.CorgiEngine.ComboWeapon.Start |
( |
| ) |
|
|
protectedvirtual |
On start we initialize our Combo Weapon
◆ Update()
virtual void MoreMountains.CorgiEngine.ComboWeapon.Update |
( |
| ) |
|
|
protectedvirtual |
On Update we reset our combo if needed
◆ WeaponStarted()
virtual void MoreMountains.CorgiEngine.ComboWeapon.WeaponStarted |
( |
Weapon |
weaponThatStarted | ) |
|
|
virtual |
When one of the weapons get used we turn our countdown off
- Parameters
-
◆ WeaponStopped()
virtual void MoreMountains.CorgiEngine.ComboWeapon.WeaponStopped |
( |
Weapon |
weaponThatStopped | ) |
|
|
virtual |
When one of the weapons has ended its attack, we start our countdown and switch to the next weapon
- Parameters
-
◆ _countdownActive
bool MoreMountains.CorgiEngine.ComboWeapon._countdownActive = false |
|
protected |
◆ _currentWeaponIndex
int MoreMountains.CorgiEngine.ComboWeapon._currentWeaponIndex = 0 |
|
protected |
◆ ComboInProgressAnimationParameter
string MoreMountains.CorgiEngine.ComboWeapon.ComboInProgressAnimationParameter = "ComboInProgress" |
the animation parameter's name that should turn true when a combo is in progress
◆ DropComboDelay
float MoreMountains.CorgiEngine.ComboWeapon.DropComboDelay = 0.5f |
the delay after which the combo drops
◆ DroppableCombo
bool MoreMountains.CorgiEngine.ComboWeapon.DroppableCombo = true |
whether or not the combo can be dropped if enough time passes between two consecutive attacks
◆ OwnerCharacterHandleWeapon
the reference to the weapon's Owner
◆ TimeSinceLastWeaponStopped
float MoreMountains.CorgiEngine.ComboWeapon.TimeSinceLastWeaponStopped |
the time spent since the last weapon stopped
◆ Weapons
Weapon [] MoreMountains.CorgiEngine.ComboWeapon.Weapons |
the list of weapons, set automatically by the class
◆ ComboInProgress
bool MoreMountains.CorgiEngine.ComboWeapon.ComboInProgress |
|
get |
True if a combo is in progress, false otherwise
- Returns
The documentation for this class was generated from the following file: