I have triend to put out resurrection stones in the world that I am trying to creat.
Made three different regions for it.
(Resurrection, ResurrectionEntering, ResurrectionVisability)
And then used the trigger:
Event:
Unit - A unit owned by Player 1 (Red) is issued to order targeting an object
Condition:
((Target unit of issued order) is A Hero) Equal to True
(Targeted unit) Equal to ResurrectionStone <gen>
Action:
Special Effect - (A suiting effect)
Set Resurrection = Resurrection01 <gen> (The area around the stone where the hero is to be revived.)
Set ResurrectionVisabaility = Resurrection01Visibility <Area of visibily around the stone)
Trigger - Run RSVisiblilty <gen>
Trigger - Turn on RS02
Trigger - Turn of (this trigger)
After that I used the two variables for the area of resurrection in one trigger that is going to run when the heroe dies, and one for the visibility that is activated directley when you target the stone.
But not even the trigger I wrote here worked. I tried also with 'Unit - Enter region...', but it didn't work eather.
(Yes I changed the condition then.)
Someone know whats wrong?
Made three different regions for it.
(Resurrection, ResurrectionEntering, ResurrectionVisability)
And then used the trigger:
Event:
Unit - A unit owned by Player 1 (Red) is issued to order targeting an object
Condition:
((Target unit of issued order) is A Hero) Equal to True
(Targeted unit) Equal to ResurrectionStone <gen>
Action:
Special Effect - (A suiting effect)
Set Resurrection = Resurrection01 <gen> (The area around the stone where the hero is to be revived.)
Set ResurrectionVisabaility = Resurrection01Visibility <Area of visibily around the stone)
Trigger - Run RSVisiblilty <gen>
Trigger - Turn on RS02
Trigger - Turn of (this trigger)
After that I used the two variables for the area of resurrection in one trigger that is going to run when the heroe dies, and one for the visibility that is activated directley when you target the stone.
But not even the trigger I wrote here worked. I tried also with 'Unit - Enter region...', but it didn't work eather.
(Yes I changed the condition then.)
Someone know whats wrong?