ok i wanted to do this ability where caster makes up a cloud and when the caster is in this cloud it gets invisibility in an aoe of 400.
I tried making basing it off serpent ward, made a dummy unit with the cloud model and then this triggers.
Trigger Cloud CAST
Events
Unit - A unit spawns a summoned unit
Conditions
(Unit-type of (Summoned Unit)) equal to FindMe_Dummy
Actions
Unit - Kill FindMe_Dummy
Set FindMe_Caster = Triggering Unit
Set FindMe_Dummy = Summoned Unit
Trigger Cloud SET
Events
Time - Every 1.00 second
Conditions
FindMe_Dummy not equal to No unit
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Integer(Distance between (Position of (FindMe_Caster)) and (Position of (FindMe_Dummy))) less than or equal to 400
Then - Actions
Unit - Add Permanent Invisibility to FindMe_Caster
Else
Unit - Remove Permanent Invisibility from FindMe_Caster
with this when i cast the spell it casts the dummy unit but caster doesnt get invisibility.
Whats wrong?
I tried making basing it off serpent ward, made a dummy unit with the cloud model and then this triggers.
Trigger Cloud CAST
Events
Unit - A unit spawns a summoned unit
Conditions
(Unit-type of (Summoned Unit)) equal to FindMe_Dummy
Actions
Unit - Kill FindMe_Dummy
Set FindMe_Caster = Triggering Unit
Set FindMe_Dummy = Summoned Unit
Trigger Cloud SET
Events
Time - Every 1.00 second
Conditions
FindMe_Dummy not equal to No unit
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Integer(Distance between (Position of (FindMe_Caster)) and (Position of (FindMe_Dummy))) less than or equal to 400
Then - Actions
Unit - Add Permanent Invisibility to FindMe_Caster
Else
Unit - Remove Permanent Invisibility from FindMe_Caster
with this when i cast the spell it casts the dummy unit but caster doesnt get invisibility.
Whats wrong?
Last edited: