- Joined
- Jul 13, 2006
- Messages
- 140
So, I am trying to make a sci-fi transport ability using triggers since dark summoning creates a pentagram on the ground.
But there seems to be something wrong with it, could somebody please let me know why?
I have tested with two dummy abilities, one is earthquake and the other is Blizzard, and it doesn't work.
Earthquake has just gone weird for some reason :/ (the targeting circle has disappeared).
But there seems to be something wrong with it, could somebody please let me know why?
I have tested with two dummy abilities, one is earthquake and the other is Blizzard, and it doesn't work.
Earthquake has just gone weird for some reason :/ (the targeting circle has disappeared).
-
teleport
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Teleport
-
-
Actions
-
Set TempTelGroup = (Units within 300.00 of (Target point of ability being cast) matching (((Owner of (Picked unit)) Equal to (Owner of (Casting unit))) and (((Picked unit) is A structure) Not equal to True)))
-
Set TempPoint = (Position of (Casting unit))
-
Special Effect - Create a special effect at TempPoint using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
-
Special Effect - Destroy (Last created special effect)
-
Unit Group - Pick every unit in TempTelGroup and do (Actions)
-
Loop - Actions
-
Set TempLocus = (Position of (Picked unit))
-
Special Effect - Create a special effect at TempLoc using Abilities\Spells\Human\MassTeleport\MassTeleportTarget.mdl
-
Special Effect - Destroy (Last created special effect)
-
Unit - Move (Picked unit) instantly to TempPoint
-
Custom script: call RemoveLocation(udg_TempLocus)
-
-
-
Custom script: call DestroyGroup(udg_TempTelGroup)
-
Custom script: call RemoveLocation(udg_TempPoint)
-
-