OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: CareyBear on 29 Sep 2002, 18:28:21

Title: Respawning into 2IC
Post by: CareyBear on 29 Sep 2002, 18:28:21
The coop mission 'Rescue the Hostages' in Entre Deux - it was one of the originals.

When you died in that one you respawned - or took control of - the next one down the group.

Was wondering if anyone knew how this works. Doesn't seem to happen in any mp missions I make, so I figure it must be activated somehow, but can't figure out how or where. Would be very useful for the team sector control mission I'm working on.

Cheers if anyone can answer this
Title: Re:Respawning into 2IC
Post by: Sui on 30 Sep 2002, 06:00:04
Welcome to the forums, CareyBear

If you check out the Sticky thread at the top, Respawning (http://www.ofpec.com/yabbse/index.php?board=7;action=display;threadid=91), you'll see all the different options you have for respawning.

The code you are looking for is this:
Quote
4 (or "GROUP")
  - Respawn into any alive AI in the player's squad after respawndelay.
    If noone is left then the player respawns as a seagull.

  5 (or "SIDE")
  - Exactly the same as number 4 (GROUP) - at least in v1.46.