OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Bricktop on 17 Jan 2004, 21:13:35

Title: Respawn Limits?
Post by: Bricktop on 17 Jan 2004, 21:13:35
Ok, I need to know how to :

Make my players (NOT AI) respawn a fixed number of times without using AI as backup in a multiplayer mission.

I found a lot of stuff about respawning in my searches but nothing specific to this.

Cheers

Bricktop

Title: Re:Respawn Limits?
Post by: rhysduk on 17 Jan 2004, 21:51:56
You cant respawn in SP* !! Only in MP !!

* - Well not like the MP Way.. you need a script to spawn (camcreate or createunit) units at specified locations when an enemy is dead...

Rhys
Title: Re:Respawn Limits?
Post by: LCD on 17 Jan 2004, 22:41:01
Make my players (NOT AI) respawn a fixed number of times without using AI as backup in a multiplayer mission.

he did say MP :P

@ bricky

i aint in MP editin so sry i cudnt help ya  :-X but i sugest u try askin mod 2 move dis 2 da MP board ;) :P

LCD OUT
Title: Re:Respawn Limits?
Post by: myke13021 on 17 Jan 2004, 22:55:50
hmmmm.....are you making this map on 1.46 or for resi?

if it is for resi....dunno how exactly to make but the eventhandler "killed" could do some like this...like counting how many times a unit (player) was killed (a = a + 1)...sorta of this...and when a limit is reached (a => 5) then do a setpos with an removeweapon on a place far away...maybe on one of the little islands off the coast ;-)

as i said...i'm not so deep into scripting but maybe you can find it out yourself
Title: Re:Respawn Limits?
Post by: Bricktop on 18 Jan 2004, 01:52:44
Thanks guys .... Ill check that out.


Bricktop