Closed wesleywh closed 2 years ago
Following
I have implemented this in my code. It's a very simple fix. For now you can do the following.
MP_vShooterMeleeInput.cs
finishedInitializing = true;
Add:
GetComponent<vThirdPersonController>().onDead.AddListener(OnDeadStopAiming);
OnDeadStopAiming
:
/// <summary>
/// This will make it so you stop aiming if your character is marked as dead
/// </summary>
protected virtual void OnDeadStopAiming(GameObject character)
{
DisableScopeView();
}
Done.
Now you will stop aiming when you die.
NOTE: The above will be included as part of the v0.3.5
release. Going to work on a few of these other bugs before releasing. Feel free to re-open this issue if this doesn't solve your issue.
Thanks buddy
Reported in discord #emi-support channel: