Hello everyone. It's Pekisa7. I once again need help with the portal spell. So I want when the unit owned by player green attacks the undead player to open the portal and teleport troug that portal to the region that I've set. I've tried all that I can do. But I didn't figured it out and it doesen't seem to work. Here are the triggers:
-
Portal Trigger
-

Events
-


Unit - A unit owned by Player 7 (Green) Is issued an order targeting an object
-
-

Conditions
-


(Owner of (Triggering unit)) Equal to Player 7 (Green)
-
-

Actions
-


Trigger - Turn off Portal Trigger <gen>
-


Trigger - Run Portal Activation <gen> (checking conditions)
-
-
-
Portal Activation
-

Events
-


Unit - A unit Begins casting an ability
-
-

Conditions
-


(Triggering unit) Equal to Terrordar_Dreadlord
-


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

Actions
-


Trigger - Turn off Portal Activation <gen>
-


Trigger - Run Portal Spell <gen> (checking conditions)
-
-
-
Portal Spell
-

Events
-


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

Conditions
-


(Casting unit) Equal to Terrordar_Dreadlord
-


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

Actions
-


Trigger - Turn off Portal Spell <gen>
-


Set VariableSet Point01 = (Position of Portal 3683 <gen>)
-


Set VariableSet Point02 = (Position of Portal 3682 <gen>)
-


Unit - Unhide Portal 3683 <gen>
-


Unit - Make Portal 3683 <gen> Invulnerable
-


Unit - Grant shared vision of Portal 3683 <gen> to Player 7 (Green)
-


Unit - Add Waygate ability to Portal 3683 <gen>
-


Neutral Building - Set Portal 3683 <gen> destination to (Center of Portal From <gen>)
-


Neutral Building - Enable Portal 3683 <gen>
-


Unit - Add a 15.00 second Generic expiration timer to Portal 3683 <gen>
-


Unit - Unhide Portal 3682 <gen>
-


Unit - Make Portal 3682 <gen> Invulnerable
-


Unit - Grant shared vision of Portal 3682 <gen> to Player 7 (Green)
-


Unit - Add Waygate ability to Portal 3682 <gen>
-


Neutral Building - Set Portal 3682 <gen> destination to (Center of PortalRegion <gen>)
-


Neutral Building - Enable Portal 3682 <gen>
-


Unit - Add a 15.00 second Generic expiration timer to Portal 3682 <gen>
-
-





