I searched around but it seems like I am thr first to ponder this, although maybe I didn't search enough. I literally made this account for this one question...
So some of my enemies can counter. I was wondering if anyone knows of a script or method to make a weapon immune to being countered. For example, lets say Enemy A is wielding a sword and no shield and Character A is wielding a crossbow. Now unless Enemy A is a Jedi master they're not like to slice a fired arrow out of the air and counter attack. So how would I go about making the crossbow reduce Enemy A's counter trate or simply negate it without effecting Enemy A's ability to counter other attacks like sword attacks?
I'm slowly learning to script but the last time I ever scripted anything was 6 years ago when I learned bash scripting in highschool.
Right now I surpassed this issue by making sure every enemy with a counter trait has a shield so that they can logically block arrows. Eventually I will be able to figure this out on my own but it will help me learn to script if a script for this issue already exists as I learn best by seeing how it is done and then reverse engineering the script to see how it all works as a whole.
Don't sweat it if a script doesn't exist. I am the type of person who has to answer every little "what of" question I can come up with.
So some of my enemies can counter. I was wondering if anyone knows of a script or method to make a weapon immune to being countered. For example, lets say Enemy A is wielding a sword and no shield and Character A is wielding a crossbow. Now unless Enemy A is a Jedi master they're not like to slice a fired arrow out of the air and counter attack. So how would I go about making the crossbow reduce Enemy A's counter trate or simply negate it without effecting Enemy A's ability to counter other attacks like sword attacks?
I'm slowly learning to script but the last time I ever scripted anything was 6 years ago when I learned bash scripting in highschool.
Right now I surpassed this issue by making sure every enemy with a counter trait has a shield so that they can logically block arrows. Eventually I will be able to figure this out on my own but it will help me learn to script if a script for this issue already exists as I learn best by seeing how it is done and then reverse engineering the script to see how it all works as a whole.
Don't sweat it if a script doesn't exist. I am the type of person who has to answer every little "what of" question I can come up with.