OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: NoMaD on 15 Aug 2004, 22:56:47

Title: Limiting Respawns
Post 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?.
Title: Re:Limiting Respawns
Post by: Zombie on 16 Aug 2004, 03:18:46
what do you mean limit the numer of units?  more details please
Title: Re:Limiting Respawns
Post by: NoMaD on 17 Aug 2004, 09:52:24
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.
Title: Re:Limiting Respawns
Post by: Zombie on 17 Aug 2004, 14:49:37
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......
Title: Re:Limiting Respawns
Post by: DBR_ONIX on 17 Aug 2004, 16:55:32
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