Hello it's Pekisa7. I've recently viewed a thread how to create a portal. So I implemented those triggers into my map so that demons on my map can teleport to the player's undead base. But it doesn't seem to work. Can someone help me to fix this issue? Best regards for Pekisa7. Here are the triggers:
-
Spell
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


(Casting unit) Equal to Terrordar 2251 <gen>
-


(Ability being cast) Equal to Portal (Terrordar)
-
-

Actions
-


Set Point01[1] = (Position of Terrordar 2251 <gen>)
-


Set Point02[2] = (Target point of ability being cast)
-


Set Point03[3] = (Point01[1] offset by 250.00 towards (Angle from Point01[1] to Point02[2]) degrees)
-


Unit - Create 1 Portal for Player 7 (Green) at Point02[2] facing (Angle from Point02[2] to Point01[1]) degrees
-


Unit - Make (Last created unit) Invulnerable
-


Unit - Grant shared vision of (Last created unit) to Player 7 (Green)
-


Unit - Add Waygate ability to (Last created unit)
-


Neutral Building - Set (Last created unit) destination to Point01[1]
-


Neutral Building - Enable (Last created unit)
-


Unit - Add a 15.00 second Generic expiration timer to (Last created unit)
-


Unit - Create 1 Portal for Player 7 (Green) at Point03[3] facing (Angle from Point01[1] to Point02[2]) degrees
-


Unit - Make (Last created unit) Invulnerable
-


Unit - Grant shared vision of (Last created unit) to Player 7 (Green)
-


Unit - Add Waygate ability to (Last created unit)
-


Neutral Building - Set (Last created unit) destination to Point02[2]
-


Neutral Building - Enable (Last created unit)
-


Unit - Add a 15.00 second Generic expiration timer to (Last created unit)
-
-







