MP_vShooterMeleeInput
Function Definitions
Select the function name from below to jump directly to it on this page.
BreakAttack
FixedUpdate
LateUpdate
OnAnimatorMove
OnDisableAttack
OnEnableAttack
OnRecoil
ReceivePulledTrigger
ResetAttackTriggers
ResetShooterAnimations
SendPulledTrigger
TriggerStrongAttack
TriggerWeakAttack
Update
UpdateMeleeAnimations
UpdateShooterAnimations
public override void BreakAttack(int breakAtkID)
Overrides default functionality of invector to only work if you’re the owner player and will not work if this is called by a networked player.
| Expose Value | Overrideable | Returns |
|---|---|---|
| public | True | Does not return anything |
No parameters
protected override void FixedUpdate()
Overrides default functionality of invector to only work if you’re the owner player and will not work if this is called by a networked player.
| Expose Value | Overrideable | Returns |
|---|---|---|
| protected | True | Does not return anything |
No parameters
protected override void LateUpdate()
Overrides default functionality of invector to perform the same if you’re the owner player. Otherwise will only update its aiming location based on what is received over the network.
| Expose Value | Overrideable | Returns |
|---|---|---|
| protected | True | Does not return anything |
No parameters
public override void OnAnimatorMove()
Overrides default functionality of invector to only work if you’re the owner player and will not work if this is called by a networked player.
| Expose Value | Overrideable | Returns |
|---|---|---|
| public | True | Does not return anything |
No parameters
public override void OnDisableAttack()
Overrides default functionality of invector to only work if you’re the owner player and will not work if this is called by a networked player.
| Expose Value | Overrideable | Returns |
|---|---|---|
| public | True | Does not return anything |
No parameters
public override void OnEnableAttack()
Overrides default functionality of invector to only work if you’re the owner player and will not work if this is called by a networked player.
| Expose Value | Overrideable | Returns |
|---|---|---|
| public | True | Does not return anything |
No parameters
public override void OnRecoil(int recoilID)
Overrides default functionality of invector to only work if you’re the owner player and will not work if this is called by a networked player. Will also set the triggers for recoil and strong attack and reset the triggers for weak attack and strong attack for the networked players.
| Expose Value | Overrideable | Returns |
|---|---|---|
| public | True | Does not return anything |
No parameters
protected virtual void ReceivePulledTrigger()
This is only used by networked versions of players to receive when the owner player is pulling or releasing the trigger to the shooter weapon. It is responsible for firing the target weapon or to stop firing the target weapon.
| Expose Value | Overrideable | Returns |
|---|---|---|
| protected | True | Does not return anything |
No parameters
public override void ResetAttackTriggers()
Overrides default functionality of invector to only work if you’re the owner player and will not work if this is called by a networked player. Als will reset the triggers for the networked players when called via the
ResetTriggersRPC.
| Expose Value | Overrideable | Returns |
|---|---|---|
| public | True | Does not return anything |
No parameters
public override void ResetShooterAnimations()
Overrides default functionality of invector to only work if you’re the owner player and will not work if this is called by a networked player. Sets the animator layer weights for the networked players to mimic the owner player via the
SetAnimatorLayerWeightsRPC.
| Expose Value | Overrideable | Returns |
|---|---|---|
| public | True | Does not return anything |
No parameters
protected virtual IEnumerator SendPulledTrigger()
This is only called by the owner player. This will send when the weapon trigger is pulled or released. This is used in combination with the
ReceivePulledTriggerfunction. It will send the weapon that is firing/not firing, the ammo for it, and where it is firing to.
| Expose Value | Overrideable | Returns |
|---|---|---|
| protected | True | Does not return anything |
No parameters
public override void TriggerStrongAttack()
Overrides default functionality of invector to only work if you’re the owner player and will not work if this is called by a networked player. Triggers the strong attack animation for networked players to mimic the owner player via the
SetTriggersRPC.
| Expose Value | Overrideable | Returns |
|---|---|---|
| public | True | Does not return anything |
No parameters
public override void TriggerWeakAttack()
Overrides default functionality of invector to only work if you’re the owner player and will not work if this is called by a networked player. Triggers the weak attack animation for networked players to mimic the owner player via the
SetTriggersRPC.
| Expose Value | Overrideable | Returns |
|---|---|---|
| public | True | Does not return anything |
No parameters
protected override void Update()
Overrides default functionality of invector to only work if you’re the owner player and will not work if this is called by a networked player. Also calls the
ReceivePulledTriggerfunction if a networked version of a player or theSendPulledTriggerfunction if the owner player.
| Expose Value | Overrideable | Returns |
|---|---|---|
| protected | True | Does not return anything |
No parameters
protected override void UpdateMeleeAnimations()
Overrides default functionality of invector to only work if you’re the owner player and will not work if this is called by a networked player. Otherwise the functionality is the same but it also sets the animator layer weights for the networked players to mimic the owner player via the
SetAnimatorLayerWeightsRPC.
| Expose Value | Overrideable | Returns |
|---|---|---|
| protected | True | Does not return anything |
No parameters
protected override void UpdateShooterAnimations()
Overrides default functionality of invector to only work if you’re the owner player and will not work if this is called by a networked player. Sets the animator layer weights for the networked players to mimic the owner player via the
SetAnimatorLayerWeightsRPC.
| Expose Value | Overrideable | Returns |
|---|---|---|
| protected | True | Does not return anything |
No parameters