- Joined
- Jul 30, 2012
- Messages
- 93
-
Rastgele Modu
-

Events
-


Player - Player 1 (Red) types a chat message containing -tr as An exact match
-


Player - Player 1 (Red) types a chat message containing -tümürastgele as An exact match
-
-

Conditions
-


rastgele_used[(Player number of (Triggering player))] Equal to False
-
-

Actions
-


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 (Triggering player)
-
-
-
-
-


Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
-



Loop - Actions
-




Set rastgele_used[(Player number of (Triggering player))] = True
-




Set integerrandom = (Random integer number between 1 and HeroSayisi)
-




Set Temp_Point2 = ((Picked player) start location)
-




Player - Add -1 to (Picked player) Current lumber
-




Wait 1.00 seconds
-




Unit - Create 1 rastgelehero[integerrandom] for (Picked player) at Temp_Point2 facing Default building facing degrees
-




Camera - Pan camera for (Picked player) to Temp_Point over 0.00 seconds
-




Selection - Select (Last created unit) for (Picked player)
-




Custom script: call RemoveLocation(udg_Temp_Point)
-




Custom script: set udg_Temp_Point = null
-
-
-


Player Group - Pick every player in (All players) and do (Actions)
-



Loop - Actions
-




Player - Make rastgelehero[integerrandom] Unavailable for training/construction by (Picked player)
-
-
-


Set rastgelehero[integerrandom] = rastgelehero[HeroSayisi]
-


Set HeroSayisi = (HeroSayisi - 1)
-
-





