So I'm making a map where snipers will shoot the player's hero from a good distance when he gets too close. The firing sound plays through the fog over a great distance but I also want an arrow (gonna use the "ping arrow" model) to be created at the hero and point in the direction of the attack for a few seconds.
I would have the damage effect create a Model type actor at an offset to the target and then change the orientation of it using a SOp (Forward Vector) to get it to face the caster of the effect. The model then uses a timer to self destruct. You can then alter the arrow angle using a SOp (Explicit Rotation).
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
So I'm making a map where snipers will shoot the player's hero from a good distance when he gets too close. The firing sound plays through the fog over a great distance but I also want an arrow (gonna use the "ping arrow" model) to be created at the hero and point in the direction of the attack for a few seconds.
What is the best way to go about doing this?
I would have the damage effect create a Model type actor at an offset to the target and then change the orientation of it using a SOp (Forward Vector) to get it to face the caster of the effect. The model then uses a timer to self destruct. You can then alter the arrow angle using a SOp (Explicit Rotation).
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