just for a start, use the [ code] and [ /code] tags for your code snippets on this forum. (no real biggy
)
if you declare a cooldown variable before you do loop starts (i.e. cooldown = 5000 or something, remember timer() increments in 1000ths of a second, so 5000 = 5 seconds)
then in your conditional statement that calls your entity building functions, use something like:
currenttime = timer()
if currenttime > lastbuild + cooldown
addentity(i)
addentbehav(i)
addentobj(i)
lastbuild = currenttime
endif
in this case, every time you build an entity, the time of build is recorded in the 'lastbuild' variable. every loop, current time is evaluated, and once it is greater than the "last build time" plus the cooldown time it will build another entity
This is not the Sig you are looking for....