- Joined
- Jul 30, 2012
- Messages
- 93
Hi,
I have a problem about my heroes in taverns.Some stable heroes are disappering from tavern while time is ticking...So we can't pick those.But if i play in test map, it works fine.I think it may be due to this:
And i have a 1 more question.How can i craft item when inventory is full, like dota's system?It must be ok when we buy last item.
Sorry for my bad english, good forums!
I have a problem about my heroes in taverns.Some stable heroes are disappering from tavern while time is ticking...So we can't pick those.But if i play in test map, it works fine.I think it may be due to this:
-
Hero Pick
-
Events
- Unit - A unit enters Altar Region <gen>
- Conditions
-
Actions
- Unit - Move (Triggering unit) instantly to ((Owner of (Triggering unit)) start location), facing (Position of Dark Troll Warlord 0025 <gen>)
- Set Hero[(Player number of (Owner of (Triggering unit)))] = (Triggering unit)
- Set rastgele_used[(Player number of (Owner of (Triggering unit)))] = True
-
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 (Entering unit))
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- rastgelehero[(Integer A)] Equal to (Unit-type of (Entering unit))
-
Then - Actions
- Set rastgelehero[(Integer A)] = rastgelehero[HeroSayisi]
- Set HeroSayisi = (HeroSayisi - 1)
-
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)
-
Loop - Actions
- Else - Actions
-
If - Conditions
-
Player Group - Pick every player in (All players) and do (Actions)
-
Loop - Actions
-
Events
And i have a 1 more question.How can i craft item when inventory is full, like dota's system?It must be ok when we buy last item.
Sorry for my bad english, good forums!