pwnagenub2
New Member
- Reaction score
- 3
Hello, these seems to be very easy to make but i can't see to get it to work.
I'm making a spell where a unit casts an ability on a friendly target, which makes a unit for the player that got hit by the ability.
For example, if player 3 casts the ability on player 1's character, player 1 will get a unit at the position of his unit that was the target of the ability.
Here is what I have so far :
i'm not sure what else would work. here i'm trying to make it so a player besides player 1 casts an ability on player 1's character which makes the unit for player 1 to control.
thanks
I'm making a spell where a unit casts an ability on a friendly target, which makes a unit for the player that got hit by the ability.
For example, if player 3 casts the ability on player 1's character, player 1 will get a unit at the position of his unit that was the target of the ability.
Here is what I have so far :
Code:
Spirit Vision
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Spirit Vision
(Picked player) Equal to Player 1 (Red)
Actions
Unit - Create 1 Artificier Spirit for Player 1 (Red) at (Position of (Casting unit)) facing Default building facing degrees
i'm not sure what else would work. here i'm trying to make it so a player besides player 1 casts an ability on player 1's character which makes the unit for player 1 to control.
thanks