1Shredder1
New Member
- Reaction score
- 1
A big mahalos to those that helped me with my previous problem. But, now heres another problem that's driving me crazy! I'm trying to make my firelord pick up an orb of darkness, making that end the game. However, I just can't get it to work! Here's the complete trigger:
Well, that's it, and yes, I'm sure my team is red, I have a firelord, he is a hero, I have placed an orb of darkness, and blue team exists as computer and team 2.... ARGH!!!!!!!!!!
Code:
Events
Map initialization
Conditions
Actions
Melee Game - Use melee time of day (for all players)
Melee Game - Limit Heroes to 1 per Hero-type (for all players)
Melee Game - Give trained Heroes a Scroll of Town Portal (for all players)
Melee Game - Set starting resources (for all players)
Melee Game - Remove creeps and critters from used start locations (for all players)
Melee Game - Run melee AI scripts (for computer players)
If {All Conditions are True} then do {Then Actions} else do {Else Actions}
If - Conditions
And - All {Conditions are true}
Conditions
(Firelord 0009 <gen> is A Hero> Equal to True
(Firelord 0009 <gen> has Orb of Darkness 0010 <gen> Equal to True
Then - Actions
Game - Defeat Player 2 (Blue) with the message: Defeat!
Game - Victory Player 1 (Red) (Show dialogs, Show scores)
Else - Actions
Do nothing
Well, that's it, and yes, I'm sure my team is red, I have a firelord, he is a hero, I have placed an orb of darkness, and blue team exists as computer and team 2.... ARGH!!!!!!!!!!