- Joined
- Apr 17, 2008
- Messages
- 44
I have a spawning trigger set up that is messing up
But anyways here is the problem, when I capture a base the spawn triggers
anyone know my problem?
Also, as a second note I do have a timer set up it is working just fine, it's a cycling timer that expires every 90 seconds and restarts
- capture her9
- Events
- Dialog - A dialog button is clicked for basecap
- Conditions
- (Clicked dialog button) Equal to basecapbuttons[2]
- Actions
- Unit - Change ownership of Border Station 0023 <gen> to (Triggering player) and Change color
- Set siegeengine = 0
- Set footmen2 = 1
- Set lancer2 = 0
- Set rangercyd2 = 0
- Set archercyd2 = 0
But anyways here is the problem, when I capture a base the spawn triggers
- footmen3
- Events
- Unit - A unit owned by (Owner of New Weston 0009 <gen>) Finishes training a unit
- Conditions
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Unit-type of (Trained unit)) Equal to Footmen (3)
- Then - Actions
- Set footmen3 = (footmen3 + 1)
- Unit - Remove (Trained unit) from the game
- Else - Actions
- spawn50
- Events
- Time - Timer expires
- Conditions
- (New Weston 0009 <gen> is Dead) Equal to False
- Actions
- Set temppoint = (Center of Rect 015 <gen>)
- Unit - Create footmen3 Footmen (3) for (Owner of New Weston 0009 <gen>) at temppoint facing Default building facing (270.0) degrees
- Custom script: call RemoveLocation (udg_temppoint)
anyone know my problem?
Also, as a second note I do have a timer set up it is working just fine, it's a cycling timer that expires every 90 seconds and restarts
Last edited: