Max
New Member
- Reaction score
- 1
First Quesation:
In my Hero Defense map I've made this 2 triggers:
With this code whenever the all heroes goes out of the region the main building becomes vulnerable and vice-versa (Just like MOO-MOO map)
The concept is when all the heroes dies, the enemy creew wave can attack the tower because no one is defending it.
But sadly it doesn't work... It works when all heroes leaves the region but not when all heroes dies.
When heroes died that counts as leaving the region right?
Second Question:
Where can I write the credits???
Third Question:
Is ther an alternate way to import?
Coz for some reason my Import Manager is no longer working, I can no longer import models and icons
In my Hero Defense map I've made this 2 triggers:
Code:
Setup Bifrost
Events
Unit - A unit leaves BifrostTerritory <gen>
Conditions
And - All (Conditions) are true
Conditions
(Owner of (Triggering unit)) Not equal to Player 12 (Brown)
(Owner of (Triggering unit)) Not equal to Neutral Passive
((Triggering unit) is A structure) Equal to False
((Triggering unit) is A Hero) Equal to True
Actions
Unit - Make Bifrost 0000 <gen> Vulnerable
Code:
Setup Bifrost2
Events
Unit - A unit enters BifrostTerritory <gen>
Conditions
And - All (Conditions) are true
Conditions
(Owner of (Triggering unit)) Not equal to Player 12 (Brown)
(Owner of (Triggering unit)) Not equal to Neutral Passive
((Triggering unit) is A structure) Equal to False
((Triggering unit) is A Hero) Equal to True
Actions
Unit - Make Bifrost 0000 <gen> Invulnerable
The concept is when all the heroes dies, the enemy creew wave can attack the tower because no one is defending it.
But sadly it doesn't work... It works when all heroes leaves the region but not when all heroes dies.
When heroes died that counts as leaving the region right?
Second Question:
Where can I write the credits???
Third Question:
Is ther an alternate way to import?
Coz for some reason my Import Manager is no longer working, I can no longer import models and icons