-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Player stays locked on after getting killed #9
Comments
Please fill out the ticket items I have put in here. That makes it so I don't have to keep asking a million annoying questions about what version of unity your running, the version of mirror, etc. This just gets me really frustrated. Just please spend the time filling out the ticket properly next time... With that said I guessed on your setup and tried to mimic the behavior. I'm also going to guess you're running mirror version You mentioned "melee" in your comment so I'm also going to guess you're talking about melee based characters and not shooter based characters (which means Here is what I did:
Then added the new function:
All of the above takes care of the problem when you are targeting someone and you die. What about when you are targeting someone and that someone dies? The following addition will solve that by unlocking when you kill that target. Obviously modify to your needs. In the
While digging around for the above fix I also noticed that the icon would display for none owned characters targets. To prevent this add the following to the two above meantioned scripts:
The above doesn't solve all of the problems but was what I was able to find for today. Will keep looking at this tomorrow. |
Got it thanks I'll check and inform |
I am sorry I did not mention: I am using EMI v 0.3.5 This clearly does not help me understand can you be more specific about what is "TargetDied" and what do I need to get the Thrid person controller from? |
"TargetDied" is not recognized in this script
|
All the above code has changed dramatically as of today anyway, just ignore it. I fixed your original above problem. I identified an edge case scenario during my final phase testing. I will fix that tomorrow as well. As long as I don't find anything else I can work on a release. There was simply too many changes. I wrote new |
Alright perfect I love your dedication. Thank you wes ❤️ |
Okay this one was really difficult to fully track down. I really went down the rabbit hole on this one. Here are all the issues I solved. Some of these were with invectors code(I just coded around them) and some were bugs in my code:
While I did cleanup the code a lot from yesterdays monstrosity it is still too complicated to manually implement properly. Just wait for the next release to fix this ( |
In melee fighting when a player is fighting with the lock on and get's killed they just get bugged with the lock on,
I need to be able to disable the Lockon when player dies
The text was updated successfully, but these errors were encountered: