- Joined
- Mar 10, 2021
- Messages
- 26
-
TurnOnSpawn
-
Events
-
Time - Elapsed game time is 25.00 seconds
-
-
Conditions
-
Actions
-
Trigger - Turn on ChooseSpawn <gen>
-
Trigger - Turn on DoSpawn <gen>
-
Quest - Display to (All players) the Quest Update message: |cffffcc00The Orcs ...
-
Set VariableSet OrcBaseCount = (Random integer number between 1 and 4)
-
Set VariableSet BaseOrcRegion[OrcBaseCount] = BaseOrcSpawn
-
-
-
ChooseSpawn
-
Events
-
Time - Every 15.00 seconds of game time
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
OrcBaseCount Less than 4
-
-
Then - Actions
-
Set VariableSet OrcBaseCount = (OrcBaseCount + 1)
-
Set VariableSet BaseOrcSpawn = BaseOrcRegion[OrcBaseCount]
-
-
Else - Actions
-
Set VariableSet OrcBaseCount = (Random integer number between 1 and 4)
-
Set VariableSet BaseOrcSpawn = BaseOrcRegion[OrcBaseCount]
-
-
-
-
-
DoSpawn
-
Events
-
Time - Every 3.00 seconds of game time
-
-
Conditions
-
Actions
-
Unit - Create 1 OrcTypes[(Random integer number between 1 and 5)] for Player 6 (Orange) at (Center of BaseOrcSpawn) facing Default building facing degrees
-
-
EDIT: I also switched the definitions between the BaseOrcRegion[X] and BaseOrcSpawn definitions in the first trigger, same thing.