- Joined
- Jul 30, 2012
- Messages
- 93
Hi,
i have a problem about hero picks.It's okey as i play in test map.But on garena it doesn't work...
Thank you!
i have a problem about hero picks.It's okey as i play in test map.But on garena it doesn't work...
-
Hero Pick
-
Events
-
Unit - A unit Sells a unit
-
-
Conditions
-
((Sold unit) is A Hero) Equal to True
-
-
Actions
-
Set triggering = (Sold unit)
-
Set pick = ((Owner of triggering) start location)
-
Unit - Move triggering instantly to pick
-
Selection - Select triggering for (Owner of triggering)
-
Camera - Pan camera for (Owner of triggering) to ((Owner of triggering) start location) over 0.00 seconds
-
Set Hero[(Player number of (Owner of triggering))] = triggering
-
Set rastgele_used[(Player number of (Owner of triggering))] = True
-
Set lastcreated = (Last created multiboard)
-
For each (Integer A) from 1 to HeroSayisi, do (Actions)
-
Loop - Actions
-
Player Group - Pick every player in (All players) and do (Actions)
-
Loop - Actions
-
Player - Make rastgelehero[(Integer A)] Unavailable for training/construction by (Owner of triggering)
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
rastgelehero[(Integer A)] Equal to (Unit-type of (Sold unit))
-
-
Then - Actions
-
Multiboard - Set the display style for lastcreated item in column 1, row PlayerSatir[(Player number of (Owner of triggering))] to Show text and Show icons
-
Multiboard - Set the icon for lastcreated item in column 1, row PlayerSatir[(Player number of (Owner of triggering))] to Ikon[(Integer A)]
-
Player Group - Pick every player in (All players) and do (Actions)
-
Loop - Actions
-
Player - Make rastgelehero[(Integer A)] Unavailable for training/construction by (Picked player)
-
-
-
Set rastgelehero[(Integer A)] = rastgelehero[HeroSayisi]
-
Set HeroSayisi = (HeroSayisi - 1)
-
-
Else - Actions
-
-
-
-
Custom script: call RemoveLocation(udg_pick)
-
-
Thank you!