Z
Zanza
Guest
HI,
well this is my first post so hello everyone.
K there we go, my problem is, I want to summon a unit but make shure through triggers that there can only be one summoned creature at once.
I made a variable called SelfTarget from data type unit which is initialised with -none-.
My spell which summons the unit is called Natures Nuker.
Code:
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Natures Nuker
Actions
Set SelfTarget = (Summoned unit)
My Problem is the variable SelfTarget isn't is assigned as the summoned unit ,(.
I used serpent ward as base spell for naturs nuker and the summoned unit is a modified shade.
So could anyone please tell me how to I assign the variable to the summoned unit ?
well this is my first post so hello everyone.
K there we go, my problem is, I want to summon a unit but make shure through triggers that there can only be one summoned creature at once.
I made a variable called SelfTarget from data type unit which is initialised with -none-.
My spell which summons the unit is called Natures Nuker.
Code:
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Natures Nuker
Actions
Set SelfTarget = (Summoned unit)
My Problem is the variable SelfTarget isn't is assigned as the summoned unit ,(.
I used serpent ward as base spell for naturs nuker and the summoned unit is a modified shade.
So could anyone please tell me how to I assign the variable to the summoned unit ?


