OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: PyRoLiTe on 15 Oct 2003, 11:09:34

Title: Respawning AI Civilian
Post by: PyRoLiTe on 15 Oct 2003, 11:09:34
Ok, I am making a CTF. SO i have the east and west and everything is fine there. But i want to add civilians in the map, and when they die I want them to respawn almost immediatley right where they died. I know how to do that in the desciption.txt, but if i do it there then my east and west players will respawn where they die, and i don't want that. So how can i write a script just for the Civilians?
Title: Re:Respawning AI Civilian
Post by: rhysduk on 15 Oct 2003, 16:49:25
Firstly,

Should this be in the MP Section, i think it should ;D  :-X

Anyway, you could possibly camcreate them using a script to detect which civ has died and then create them at the position they died at...

I take it you have read all of the MP Tuts in the Ed Depot ? ;D If not i sugets you do .. i dont make MP missions myself but i found it handy anyhow ;D

Rhys