SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding => Topic started by: Phobos on December 19, 2012, 02:29:38 AM

Title: SetSpawnDelay Question
Post by: Phobos on December 19, 2012, 02:29:38 AM
SetSpawnDelay(10.0, 0.25)

Is the first number the spawn timer for players and the second spawn timer for AI? Or is the second number something else? Can't find any documentation on it but I thought I read about it once somewhere.

Also is there a way to set up a spawndelay timer for one team, and different one for the other team?
Title: Re: SetSpawnDelay Question
Post by: Helios on December 19, 2012, 05:14:55 AM
I believe its 10 seconds for players, and add 0.25 seconds for AIs.
Title: Re: SetSpawnDelay Question
Post by: Anyder on December 19, 2012, 06:02:17 AM
Quote from: Phobos on December 19, 2012, 02:29:38 AM
Also is there a way to set up a spawndelay timer for one team, and different one for the other team?

I dont think so, but i never tried it and, why would u like to put this ? *Just wondering*
Title: Re: SetSpawnDelay Question
Post by: Led on December 19, 2012, 06:19:25 AM
Quote from: [FC]Sharpshot on December 19, 2012, 05:14:55 AM
I believe its 10 seconds for players, and add 0.25 seconds for AIs.

nothing to do with the AI


here it is from the documentation: http://www.swbfgamers.com/index.php?topic=4692.msg45259#msg45259

>> SetSpawnDelay is the spawn delay and deviation.
Title: Re: SetSpawnDelay Question
Post by: Phobos on December 19, 2012, 04:37:51 PM
What does psych0fred mean by deviation?
Title: Re: SetSpawnDelay Question
Post by: Led on December 19, 2012, 05:19:28 PM
i think it is probably 25%

so 10 seconds + 0.25 x 10 is max time,

10 - 0.25 x 10 is min time.
EhPortal 1.34 © 2024, WebDev