OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: slat3r on 01 Jul 2003, 22:54:00

Title: returning from the dead
Post by: slat3r on 01 Jul 2003, 22:54:00
hey, i need a little bit of help, how do i get Person  A to kill perdon B, and other way round so 2 ai shooting at each other both on west!
but soon as they die they pop back up alive again and both carry on killing each other again.

if failing to no this do you no how to make ai invisiable so they cannot die...
Title: Re:returning from the dead
Post by: Terox on 01 Jul 2003, 23:23:31
you can set your respawndealy to 0, in some testing i did,the ofp engine didnt class any kill as a death and alll kills caused instantaneous respawn

Tweak it and then you can get the ai to respawn exactly where he died with the weapons he died with

If you have players on the map which of course you will do, then you can have these players go into a cutscene to create the same effect as a respawn delay, but for a longer period than 0
Title: Re:returning from the dead
Post by: max_killer_payne on 02 Jul 2003, 19:44:31
okay.

U need four triggers in one of thems activation init put:

person1 DoFire person2

In another one

person2 DoFire person1

In another one

In the first init: not (alive person1)

In the On Activation part: person1 setdammage 0.0

In another one

In the first init: not (alive person2)

In the On Activation part: person2 setdammage 0.0