Editors Depot - Mission Editing and Scripting > ArmA - Editing/Scripting Multiplayer

Respawn Question

(1/1)

Richard Nicholls:
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

JasonO:
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).

Richard Nicholls:
Thanks for that - it works  :clap:

Rich

RaymondLu:
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"

Navigation

[0] Message Index

Go to full version