Home   Help Search Login Register  

Author Topic: When you die how do you respawn as someone in same group thats used by AI  (Read 1318 times)

0 Members and 1 Guest are viewing this topic.

Owens

  • Guest
The coop mission made by operation flashpoint (Hostage rescue or something). When you die you can respawn as someone in the same group thats controlled by AI, if there are any left. How do you do this ???

I am also havn trouble with makin units appear at certain times. I make a guy who dies, and on activation: deadguy=true.
Then in the "condition of presence" of another unit i put deadguy.
And expect the unit to appear when he dies.
But it dosnt sem to be workin :(
Ive just started makin maps and still aint got the hang of it that well but i thought this would be how it would work.

Thx in advance

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
@ 1: No idea. Check ed depot if thereÂ's a script or sum tute about it.

@ 2: UÂ'll have to use createunit or setpos a guy from another pos there. If the map is already laggy I suggest u use createunit but itÂ's much better and simpler to use the setpos command. Check the ed depot online command reference.

SteroidG

  • Guest
For q1, put something like:

respawn = group;

into your description.ext

Owens

  • Guest
i have tried putting that into the init field of the group leader but it aint working. I dont know where you mean (Description.ext).
thx.
« Last Edit: 17 Jun 2003, 18:06:16 by Owens »

SteroidG

  • Guest
In the directory of your mission. Make a plain text file called description.ext and put "respawn=group" in it (any where will do, but I always put it at the top). And it'll work.