Alright, well I've been poking around in the JASS Manual. And I noticed this line of code
Now this caught my eye because of, "whichBone". I looked into wc3's GUI, and apparently there's two, the head, and chest which can be tweaked twisted. So you can have a unit's head constantly spinning and his chest constantly spinning, but my question is. What about the legs?
Do the legs have a "Bone" or is it able to be tweaked and twisted?
Also, I was thinking of using this to make, well a martial arts spell, unit is hit up into the air and while it's falling (as if it was laying down so it'll hit its back when it lands) the caster smashes into the center of the target and sends it like a meteor into the ground crippling it and causing dmg.
Code:
SetUnitLookAt unit whichUnit, string whichBone, unit lookAtTarget, real offsetX, real offsetY, real offsetZ
Now this caught my eye because of, "whichBone". I looked into wc3's GUI, and apparently there's two, the head, and chest which can be tweaked twisted. So you can have a unit's head constantly spinning and his chest constantly spinning, but my question is. What about the legs?
Do the legs have a "Bone" or is it able to be tweaked and twisted?
Also, I was thinking of using this to make, well a martial arts spell, unit is hit up into the air and while it's falling (as if it was laying down so it'll hit its back when it lands) the caster smashes into the center of the target and sends it like a meteor into the ground crippling it and causing dmg.