Home   Help Search Login Register  

Author Topic: Respawn Question  (Read 2054 times)

0 Members and 1 Guest are viewing this topic.

Respawn Question
« on: 09 Apr 2007, 01:36:38 »
I'm trying to make a mission for both MP and SP play. I'm very new to editing for either OPF or ArmA. I have almost cracked the mission thing but i'm stuck on the spawns.

In MP play I want the characters to move to one of the AI when they are killed (assuimng that there are any AI left). For the MP version of the mission I have all of the units set as playable - however, when I get hit and die I spawn into a seagul. Same happens when I just select to respawn.

I guess that I am doing something simple wrong - but I have no idea what to do. I've looked on the forums but I can only find reference to proper respawns.

Any help will be appreciated.

Rich

Offline JasonO

  • OFPEC Patron
  • ****
  • Oh no...
    • The New Life RPG
Re: Respawn Question
« Reply #1 on: 09 Apr 2007, 01:49:25 »
In the description.ext you can try defining the respawn type as group, but this limits the respawn to units in your group only ( i think).

Re: Respawn Question
« Reply #2 on: 09 Apr 2007, 03:27:28 »
Thanks for that - it works  :clap:

Rich

Offline RaymondLu

  • Members
  • *
Re: Respawn Question
« Reply #3 on: 16 Apr 2007, 08:48:23 »
add the following script in  description.ext
----------------------
respawn=X;
respawndelay=Y;
-----------------------

X: respawn type
Y: in seconds

resp
1. "seagull" turn into a seagull
2. "instant" respawn   where you die
3. "base" respawn at base
4. respawn with team( you will use AI's slot )
5. respawn with team( instantly)
6. no respawn.

you have to put a marker named  respawn_west  or respawn_east after set X=4

this is a way to let players respawn and take no AI slots :
--------------------
#LOOP1
"respawn_west" setMarkerPos position leader group1 
~10
goto "LOOP1"