- Joined
- Aug 6, 2008
- Messages
- 6
I am in the process of making a map where the player designs an area using doodads that have become purchasable units. However, I want the "doodads" to be rotational by the player.
Currently my trigger looks like this:
Event-A unit Finishes casting an Ability
Condition-Ability being cast Equal to Rotate Target
Actions
-Set angle = 45.00+(Facing of (Target of ability being cast))
-Unit - Make (Target unit of ability being cast) face angle over .1 seconds
----
However, when I use the ability, the trigger executes but the unit isn't rotated and the "angle" variable never changes into anything other than 45.00.
What am I doing wrong? Is there a property I need to change on the target? Should I be basing the ability off of a certain spell?
Any help would be appreciated.
Also, if you have a different or possibly better way to do this, I am definitely willing to ditch this approach.
Thanks in advance for your help!
Currently my trigger looks like this:
Event-A unit Finishes casting an Ability
Condition-Ability being cast Equal to Rotate Target
Actions
-Set angle = 45.00+(Facing of (Target of ability being cast))
-Unit - Make (Target unit of ability being cast) face angle over .1 seconds
----
However, when I use the ability, the trigger executes but the unit isn't rotated and the "angle" variable never changes into anything other than 45.00.
What am I doing wrong? Is there a property I need to change on the target? Should I be basing the ability off of a certain spell?
Any help would be appreciated.
Also, if you have a different or possibly better way to do this, I am definitely willing to ditch this approach.
Thanks in advance for your help!