OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: reggy on 09 Apr 2003, 14:23:19

Title: resettle gamer in other unit during game
Post by: reggy on 09 Apr 2003, 14:23:19
resettle gamer in other unit (body) during game!
does anyone know,
is it possible?
if yes, than how?
Title: Re:resettle gamer in other unit during game
Post by: Terox on 09 Apr 2003, 16:25:47
If you mean after being killed, then yes, using

 respawn = 4
will respawn you into the body of any AI that is alive

respawn=5 will respawn you into the body of any AI that is alive on your side.

Its possible to place these AI somewhere out of the way and teleport them to a different location when you want
Other alternatives i suppose are to exec an AI create script when you die etc etc

The COOpers will be better at answering how to do this

Adding Respawning
  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.

Two pitfalls must be pointed out before you start testing:

1. Note that respawning will not work if you run the mission from the editor. You will have to Save and Export to Multiplayer, exit the Mission Editor, select Multiplayer, create a new server, select your mission, and test it.
Title: Re:resettle gamer in other unit during game
Post by: reggy on 10 Apr 2003, 12:08:59
No.
I mean without killing unit which body player in.
It would be funny in MP-strategic (one-to-one with multygroup control),
if player could take part in local fights.
Title: Re:resettle gamer in other unit during game
Post by: reggy on 10 Apr 2003, 12:12:57
How can i connect with COOpers?
Title: Re:resettle gamer in other unit during game
Post by: Terox on 10 Apr 2003, 16:04:08
Coopers = Folks who design coop maps
Title: Re:resettle gamer in other unit during game
Post by: reggy on 15 Apr 2003, 12:56:45
thaks