I'm trying to make a mod that steers very much like a cross between diablo and neverwinter nights. Trying to talk in w3 terms, i want to be able to have the camera bound to the character, following him always as he moves. This is the simple part.
The bigger part is having a working targeting system... The characters in my mod won't be having a default attack; instead players will have to press key combinations to do attacks, much like in fighting games such as Mortal Kombat.
What i want is a way to 'mark' an enemy at which the attacks will be directed, so that if i cast a fireball it will hit the right target without having to choose the specific target for the fireball. It would be perfect if i could create an ability 'Choose target' (which i know i can) and they 'keybind' it to the left mouse button. I will never have an actual need for selecting anything else besides the player, so it should not cause any problems...
Can this be done in JASS or in w3 at all? Or maybe you guys know of some other targeting system?
The bigger part is having a working targeting system... The characters in my mod won't be having a default attack; instead players will have to press key combinations to do attacks, much like in fighting games such as Mortal Kombat.
What i want is a way to 'mark' an enemy at which the attacks will be directed, so that if i cast a fireball it will hit the right target without having to choose the specific target for the fireball. It would be perfect if i could create an ability 'Choose target' (which i know i can) and they 'keybind' it to the left mouse button. I will never have an actual need for selecting anything else besides the player, so it should not cause any problems...
Can this be done in JASS or in w3 at all? Or maybe you guys know of some other targeting system?