Devrak
New Member
- Reaction score
- 17
These triggers only work once, the waves after the first one just stays where they are created, can anyone see the problem?
Trigger:
- Create Waves
- Events
- Time - Every 5.00 seconds of game time
- Conditions
- Actions
- -------- Team Left --------
- Set XInteger[2] = (XInteger[2] + 1)
- For each (Integer A) from 1 to 5, do (Actions)
- Loop - Actions
- Set XInteger[1] = (Random integer number between XInteger[4] and XInteger[5])
- Unit - Create 1 CreepWave[XInteger[1]] for Player 6 (Orange) at (Center of LEFT BASE <gen>) facing Default building facing degrees
- Unit - Set the custom value of (Last created unit) to XInteger[2]
- Unit Group - Add (Last created unit) to WaveGroup[XInteger[2]]
- Loop - Actions
- Events
Trigger:
- Move 1
- Events
- Unit - A unit enters LEFT BASE <gen>
- Conditions
- (Owner of (Triggering unit)) Equal to Player 6 (Orange)
- Actions
- Set XPoint[1] = (Center of Split 1 <gen>)
- Unit Group - Order WaveGroup[(Custom value of (Entering unit))] to Attack-Move To XPoint[1]
- Custom script: call RemoveLocation(udg_XPoint[1])
- Events