OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Knut Erik on 27 Feb 2003, 17:42:08

Title: Respawn..
Post by: Knut Erik on 27 Feb 2003, 17:42:08
I have a multiplayer mission with respawn. When u respawn u comes to a area where u can get armed. I dont want somone to leave this area...  :P
What I need is a script that makes anyone that goes away from the "rearm" zone to get teleported back there...
I also need a script that shows the players name when he enteres the combat zone again.


Please help  :-\
Title: Re:Respawn..
Post by: Terox on 28 Feb 2003, 18:27:30
To show the name of a player entering your rearm zone


Create a trigger that covers the area
with the following settings

Axis A .......dimension size to cover rearm area
Axis B .......dimension size to cover rearm area
Angle .....
choose the area shape .....(Recommend Ellipse: Rectangles can migrate to a different location on dedicated servers)
Activation ..... West (If warning West of Players) East (If warning of East players) Anybody if set for anybody)
Once: Repeatedly: ....... Repeatedly
Present: Not Present ...... Present
Type ..... None
Text ..... Zone_entry
Name ..... Zone_entry
Condition ...... this
On Activation ..... Titletext [format["%1 has entered the rearm zone!",name(thisList select 0)],"Plain down"]
On DeActivation ..... leave blank



Title: Re:Respawn..
Post by: Knut Erik on 28 Feb 2003, 19:08:49
Thanks a lot m8 :D