What I am trying to do is make a warcraft 3 footman ride a warcraft 3 Bronze Dragon and I can do that via attaching the footman as a modelanimationstylecontinuous actor to the head attachment point of the Bronze Dragon's Model. However I want the footman to attack nearby enemies with his sword without disrupting the Dragon's attacks. I can do this via an auto attack weapon with a non 0 arc and the footman model's actor of course. I can even get the footman to swing his sword when the appropriate weapon is used.
My problem is that I want the footman to face the target of his weapon when he swings it. This doesn't have to be as exact as a turret. For example if the maximum angle of the footman's sword swing's target radius is 90 degrees on each side, anything over 30 degrees from the direction the attacking unit is facing makes him turn sideways by 90 degrees in the direction of the target would be acceptable. I've tried a few different things and have not had luck so far.
What I am trying to do is make a warcraft 3 footman ride a warcraft 3 Bronze Dragon and I can do that via attaching the footman as a modelanimationstylecontinuous actor to the head attachment point of the Bronze Dragon's Model. However I want the footman to attack nearby enemies with his sword without disrupting the Dragon's attacks. I can do this via an auto attack weapon with a non 0 arc and the footman model's actor of course. I can even get the footman to swing his sword when the appropriate weapon is used.
My problem is that I want the footman to face the target of his weapon when he swings it. This doesn't have to be as exact as a turret. For example if the maximum angle of the footman's sword swing's target radius is 90 degrees on each side, anything over 30 degrees from the direction the attacking unit is facing makes him turn sideways by 90 degrees in the direction of the target would be acceptable. I've tried a few different things and have not had luck so far.
As you said use a turret model that is set to 0 opacity between the dragon and the footman.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg