OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: NoMaD on 15 Aug 2004, 22:56:47
-
I have a "BASE" respawn set up, but i want to limit the number of units that can be respawned. How do i do it?.
-
what do you mean limit the numer of units? more details please
-
Well the Base respawn using a marker gives me unlimited Respawns, as in the units keep respawning. So does instant Respawn, i would like to limit the number of Troops respawned.
-
I'm not sure you CAN limit the number of times a unit is respawned using base or instant.
Are you making a coop? I like to use group respawn for coops, that way there are no more men in you group than what you start with, of course you have to leave the AI on when you start the mission with this technique.
Never made a SP mission, but seems the same concept would apply.....
For a CTF or CNH, it could work as well until you are out of respawns, then you would get plowed as you have no one on the field anymore....
Hope this helps......
-
Well you could give each player unit a killed eventhandler, and make that could up a varabile..
If it reaces, say, 5, you move the player of somewhere, and let them watch via a camera (Is that possible..?)
- Ben