OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Judge856 on 22 May 2003, 22:34:14

Title: Marker respawn!?!?!?
Post by: Judge856 on 22 May 2003, 22:34:14
Hi,

Does anyone know how I get a unit to respawn inside a marker area or at any area. I can get them to respawn but only at the same place they died  :-[

Anyone any ideas?

Thanks in advance.
Title: Re:Marker respawn!?!?!?
Post by: usrt_peanut_butter on 22 May 2003, 23:38:32
make a .ext file then put this in it

respawn="instant"
respawndelay=3

3= time make it respawn faster with lower numbers or vise versa.

then make a marker on the map like West_Respawn then there u go.  Im assuming ur making a ctf map

i think this works, but who knows

try it                                -Peanut Butter
Title: Re:Marker respawn!?!?!?
Post by: Judge856 on 23 May 2003, 01:51:14
make a .ext file then put this in it

respawn="instant"
respawndelay=3

3= time make it respawn faster with lower numbers or vise versa.

I knew that already but, exactly how will the script know where to respawn player(ie:at the marker) instead of respawning him where he died?

How will the script know to respawn player at "West_Respawn"?

Title: Re:Marker respawn!?!?!?
Post by: usrt_peanut_butter on 23 May 2003, 04:38:34
uhh.  u make a little marker. name it Respawn_West and u respawn there.  This only works if you got all the nessesary triggers, so i cant really help u unless u got all the right triggers
Title: Re:Marker respawn!?!?!?
Post by: Mujahedeen on 23 May 2003, 05:13:50
Hi!

All you need are two markers:  Respawn_West and Respawn_East, then you have to change your description.ext file:

Code: [Select]
respawn="base"
respawndelay=3

...respawndelay can be whatever time you want (in seconds) but you probably knew that already....  ;)

cheers...