Page 1 of 1

Changing the Spawn Timer

Posted: Mon Oct 23, 2006 12:04 am
by fusillade
I am trying to change the respawn time on a map. Is this the line in the lua file that controls that?

Code: Select all

    SetSpawnDelay(10.0, 0.25)
If it is.. what does it mean, because defualt it is 15 secs, and the numbers shown in every lua for this line is exactly the same....

Thanks for any valid input.

Fusillade24

RE: Changing the Spawn Timer

Posted: Mon Oct 23, 2006 12:09 am
by t551
Well, this is pure speculation, but could this control the AI's spawn behavior in singleplayer, becuase bots spawn in waves, not singly, and 10 seconds seems like a reasonable time for this function.

RE: Changing the Spawn Timer

Posted: Mon Oct 23, 2006 10:35 am
by [RDH]Zerted
Yes, it does contol the bot's spawn. One parameter is the seconds between spawns, the other is the amount or % of dead bots to spawn. You can even have a third which sets the team.