Page 1 of 1
Spawning problem
Posted: Wed Feb 09, 2011 2:13 am
by Master Jay
Okay hey
I having some problems with my objects like jeeps, boats, planes, etc... when spawning. In what I mean by is like this. I take a jeep from were its spawn and I have all my spawners to spawn after 1 second if the player take the first jeep. So.. Idk why it's not spawning after some takes the object. Can someone help? The jeep only spawns after the first one destroys. Can you guys tell me whats causing this type of problem?
Re: Spawning problem
Posted: Wed Feb 09, 2011 3:20 am
by fo0k
Add: MaxNrOfObjectSpawned 5 (or as many as you want to have at any one time maximum)
add to the bottom of your spawner in objectspawntemplates.con
Re: Spawning problem
Posted: Wed Feb 09, 2011 3:46 am
by Master Jay
ty

Re: Spawning problem
Posted: Wed Feb 09, 2011 8:22 pm
by Dennis|8749236
don't use NrOfObjectsToSpawn
this code will make that spawner only give u certain amount of vehicles..
Re: Spawning problem
Posted: Thu Feb 10, 2011 6:57 am
by Swaffy
I think if you make the number -1, it might give you unlimited objects spawns. It's worth a try, but if it doesn't work just set the number to 50 or something.
-1 is Battlefield 1942's way of saying "infinite" or "unlimited."
Posted: Thu Feb 10, 2011 10:13 am
by freddy
a bit of clarification lol
Code: Select all
ObjectTemplate.MaxNrOfObjectSpawned 5 <-------- up to five objects from this spawner can be in the map at all times, one object destroyed a new on spawns
ObjectTemplate.nrOfObjectToSpawn 5 <---------- this spawner will put out up to five objects in total then it just stop, empty, finito, nada
Re: Spawning problem
Posted: Thu Feb 10, 2011 11:03 pm
by Master Jay
Is it just possible to put this code in the spawner object.rfa?
Re: Spawning problem
Posted: Fri Feb 11, 2011 2:42 am
by Iced Earth
if its a spawner defined in objects.rfa then yes