- Joined
- Jun 2, 2009
- Messages
- 1,233
Here is the trigger. Sometimes 4 computers get heroes, sometimes 2 and sometimes 3. What can cause this? I can provide extra details if you want.
-
HeroSectirme
-
Events
-
Time - Every 0.50 seconds of game time
-
-
Conditions
-
Actions
-
For each (Integer A) from 1 to 12, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Player((Integer A))) controller) Equal to Computer
-
BotHeroSecti[(Integer A)] Equal to False
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Player number of (Player((Integer A)))) Less than or equal to 6
-
-
Then - Actions
-
Set BotHeroSecti[(Integer A)] = True
-
Unit - Create 1 BotHerolar[(Random integer number between 1 and 24)] for (Player((Integer A))) at (Center of GameGuideDevil <gen>) facing Default building facing degrees
-
Set zU_AIHero[(Integer A)] = (Last created unit)
-
Hero - Modify Strength of (Last created unit): Add 10
-
Hero - Modify Agility of (Last created unit): Add 10
-
Hero - Modify Intelligence of (Last created unit): Add 10
-
Unit Group - Add (Last created unit) to zUG_HerolarAIDevil
-
Unit Group - Add (Last created unit) to DevilHerolariHepsi
-
Player Group - Add (Player((Integer A))) to ClanDevilPlayers
-
Unit - Set the custom value of (Last created unit) to 0
-
Set HeroCountDevil = (HeroCountDevil + 1)
-
-
Else - Actions
-
Set BotHeroSecti[(Integer A)] = True
-
Unit - Create 1 BotHerolar[(Random integer number between 1 and 24)] for (Player((Integer A))) at (Center of GameGuideReaper <gen>) facing Default building facing degrees
-
Set zU_AIHero[(Integer A)] = (Last created unit)
-
Hero - Modify Strength of (Last created unit): Add 10
-
Hero - Modify Agility of (Last created unit): Add 10
-
Hero - Modify Intelligence of (Last created unit): Add 10
-
Unit Group - Add (Last created unit) to zUG_HerolarAIReaper
-
Unit Group - Add (Last created unit) to ReaperHerolarinHepsi
-
Player Group - Add (Player((Integer A))) to ClanReaperPlayers
-
Unit - Set the custom value of (Last created unit) to 0
-
Set HeroCountReaper = (HeroCountReaper + 1)
-
-
-
-
Else - Actions
-
-
-
-
-