Hay! ^^
I want first every class should have difference buildings so I get this trigger.
then I want them placed where I want them too. But they never appear, wonder which trigger is wrong, here is the other one,
Variable;
tempPoint - Point
BuildNew - Unit-type [X] array
I want first every class should have difference buildings so I get this trigger.
Trigger:
- Base
- Events
- Map initialization
- 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
- (Race of (Player((Integer A)))) Equal to Human
- Then - Actions
- Set BuildNew[(Integer A)] = Farm
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Race of (Player((Integer A)))) Equal to Orc
- Then - Actions
- Set BuildNew[(Integer A)] = Orc Burrow
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Race of (Player((Integer A)))) Equal to Undead
- Then - Actions
- Set BuildNew[(Integer A)] = Ziggurat
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Race of (Player((Integer A)))) Equal to Night Elf
- Then - Actions
- Set BuildNew[(Integer A)] = Moon Well
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- For each (Integer A) from 1 to 12, do (Actions)
- Events
then I want them placed where I want them too. But they never appear, wonder which trigger is wrong, here is the other one,
Trigger:
- Set
- Events
- Map initialization
- Conditions
- Actions
- Set tempPoint = ((Player((Integer A))) start location)
- Unit - Create 1 BuildNew[(Integer A)] for (Player((Integer A))) at tempPoint facing Default building facing degrees
- Custom script: call RemoveLocation(udg_tempPoint)
- Events
Variable;
tempPoint - Point
BuildNew - Unit-type [X] array