- Joined
- Feb 26, 2005
- Messages
- 210
I want to set up a game where when you build a structure, it starts spawning units automatically via the 'create new unit' action. How do I set the spawn up to spawn every x seconds after the building is constructed?
Ie. Say x is five seconds. After you built the building which spawns you must wait exactly five seconds for it to produce a new unit. After that, it will produce a new unit every five seconds periodically.
I do NOT mean 'all units spawn every x seconds of game time'; I mean a unit spawns every five seconds after it was built.
Ie. Say x is five seconds. After you built the building which spawns you must wait exactly five seconds for it to produce a new unit. After that, it will produce a new unit every five seconds periodically.
I do NOT mean 'all units spawn every x seconds of game time'; I mean a unit spawns every five seconds after it was built.