StRoNgFoE.
New Member
- Reaction score
- 9
Hello,
I am humbly asking for help on a few areas. I have a couple questions:
1) Players that start off with Night Elf and have 6 surrounding gold mines; how can I make it so where the single tree of life in the center of these gold mines is able to capture all of them?
and
2) I am using a hero leveling system, where a hero enters a region and is transported to another region where he can spawn creeps. However, I am getting mixed up here. My triggers look a little like this:
Event: Unit enters region
Conditions: Unit equals hero
Actions: Unit move instantly to region
However, if I use this trigger for both regions, the hero will be moving back and forth simultaneously. The hero needs to enter a region (portal) to be transported to the other region (other portal), which is also the same portal to leave and be transported back to the region where the hero originally came from. Please help! Additional triggers located below
Left Side Leave
Events
Unit - A unit enters Left Transport <gen>
Conditions
((Entering unit) is A Hero) Equal to True
Actions
Set RegionLeak = Hero Teleport Left <gen>
Unit - Move (Entering unit) instantly to (Center of RegionLeak), facing Default building facing degrees
EGUI Leak - Remove (Center of RegionLeak)
Trigger - Turn off (This trigger)
Note: I realize these are horribly wrong.
I am humbly asking for help on a few areas. I have a couple questions:
1) Players that start off with Night Elf and have 6 surrounding gold mines; how can I make it so where the single tree of life in the center of these gold mines is able to capture all of them?
and
2) I am using a hero leveling system, where a hero enters a region and is transported to another region where he can spawn creeps. However, I am getting mixed up here. My triggers look a little like this:
Event: Unit enters region
Conditions: Unit equals hero
Actions: Unit move instantly to region
However, if I use this trigger for both regions, the hero will be moving back and forth simultaneously. The hero needs to enter a region (portal) to be transported to the other region (other portal), which is also the same portal to leave and be transported back to the region where the hero originally came from. Please help! Additional triggers located below
Code:
Left Side
Events
Unit - A unit enters Hero Teleport Left <gen>
Conditions
((Entering unit) is A Hero) Equal to True
(Owner of (Entering unit)) Equal to Player 1 (Red)
Actions
Set RegionLeak = Left Transport <gen>
Unit - Move (Entering unit) instantly to (Center of RegionLeak), facing Default building facing degrees
EGUI Leak - Remove (Center of RegionLeak)
Code:
Able to Leave Left side
Events
Unit - A unit enters Able to Leave left side <gen>
Conditions
((Entering unit) is A Hero) Equal to True
(Owner of (Entering unit)) Equal to Player 1 (Red)
Actions
Trigger - Turn on Left Side Leave <gen>
Left Side Leave
Events
Unit - A unit enters Left Transport <gen>
Conditions
((Entering unit) is A Hero) Equal to True
Actions
Set RegionLeak = Hero Teleport Left <gen>
Unit - Move (Entering unit) instantly to (Center of RegionLeak), facing Default building facing degrees
EGUI Leak - Remove (Center of RegionLeak)
Trigger - Turn off (This trigger)
Note: I realize these are horribly wrong.