hello im making a combat game, i did have an idea to make a quick time event between 2 characters/players when they hit eachother start a clashing event between the 2 of them, but idk how to start?, this a example of what im trying to achive, and instead of pressing keys, is just spamming one key
All I can think of is to change the camera to where you want it while an “inCombat” attribute is true and then reset the camera when false. You can set it in a function when you attack or being attacked and then reset it when someone wins or gives up and runs away (distance check).
This is something that im not wanna worry about, what im worried about is the fact how to like between the two got hit and start the whole thing? I have a little script, some very bad animation just for testing and im not sure if wanna work good, i feel like the two wanna see each other like the first player and the other one as the second player and then making a big hole on the code that wanna ruin everything, what im trying to say, how to make the script to think that when getting hit each other who is the first player? Or who is clashing against to? Maybe with objectvalue but idk