- Joined
- Nov 3, 2010
- Messages
- 448
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
when i make withmust i write all the text in the box or how can i copie it..?
![]()
![]()
Set Temp_Point = (Triggering Player) Start Location
For Each (Integer A) from 1 to 6 do (Actions)
Yeah, in your trigger, it stated that you create the unit in
(Centre of Gebiet 002 <gen>) where you should set to the variable udg_TempPoint instead.
And the
should be Inside the
Set Temp_Point = (Triggering Player) Start Location
instead of outside.
For Each (Integer A) from 1 to 6 do (Actions)

AllRandom

Events


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

Conditions

Actions


Trigger - Turn off (This trigger)


Trigger - Turn off T10 <gen>


Unit - Remove Wähler 0050 <gen> from the game


Unit - Remove Wähler 0049 <gen> from the game


Unit - Remove Wähler 0048 <gen> from the game


Unit - Remove Wähler 0046 <gen> from the game


Unit - Remove Wähler 0051 <gen> from the game


Unit - Remove Wähler 0047 <gen> from the game


Unit - Remove Wähler 0003 <gen> from the game


Unit - Remove Wähler 0004 <gen> from the game


Game - Display to (All players) the text: All Random


For each (Integer A) from 1 to 6, do (Actions)



Loop - Actions




Set TempPoint = ((Player((Integer A))) start location)




Set Random_Hero = (Random integer number between 1 and Random_Count)




Set TempPoint = ((Triggering player) start location)




Unit - Create 1 Hero_Array[Random_Data[Random_Hero]] for (Player((Integer A))) at TempPoint facing Default building facing degrees




Custom script: call RemoveLocation(udg_TempPoint)




Selection - Select (Last created unit) for (Player((Integer A)))




Set Random_Data[Random_Hero] = Random_Count




Set Random_Count = (Random_Count - 1)




Custom script: call RemoveLocation(udg_TempPoint)


Custom script: call DestroyTrigger(gg_trg_AllRandom)
AllRandom

Events


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

Conditions

Actions


Trigger - Turn off (This trigger)


Trigger - Turn off T10 <gen>


Unit - Remove Wähler 0050 <gen> from the game


Unit - Remove Wähler 0049 <gen> from the game


Unit - Remove Wähler 0048 <gen> from the game


Unit - Remove Wähler 0046 <gen> from the game


Unit - Remove Wähler 0051 <gen> from the game


Unit - Remove Wähler 0047 <gen> from the game


Unit - Remove Wähler 0003 <gen> from the game


Unit - Remove Wähler 0004 <gen> from the game


Game - Display to (All players) the text: ((Name of (Triggering player)) + has choosen all random.)


For each (Integer A) from 1 to 8, do (Actions)



Loop - Actions




If (All Conditions are True) then do (Then Actions) else do (Else Actions)





If - Conditions






((Player((Integer A))) slot status) Equal to Is playing





Then - Actions






Set AR_Point[(Integer A)] = ((Player((Integer A))) start location)






Set Random_Hero = (Random integer number between 1 and Random_Count)






Set TempPoint = ((Triggering player) start location)






Unit - Create 1 Hero_Array[Random_Data[Random_Hero]] for (Player((Integer A))) at AR_Point[(Integer A)] facing Default building facing degrees






Selection - Select (Last created unit) for (Player((Integer A)))






Set Random_Data[Random_Hero] = Random_Count






Set Random_Count = (Random_Count - 1)






Custom script: call RemoveLocation(udg_AR_Point[GetForLoopIndexA()])





Else - Actions


Custom script: call DestroyTrigger(gg_trg_AllRandom)
