OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: the corinthian on 07 Apr 2003, 13:22:02

Title: Tailrotor script
Post by: the corinthian on 07 Apr 2003, 13:22:02
Hi

Im looking to make a helicopter with the players in it spin out of the sky then crash but keep the players alive.

I have tried the tailrotor script that is out there and the spinning etc is great but only AI units are prevented from dying, human players still die.

Is there any way to modify the script so that the players will not be injured? Since the allowdammage command was made obsolete this is much more difficult.

As a workaround I was thinking of running a cutscene showing the chopper, then moving the players somewhere safe using setpos - then after the heli has crashed teleport the men back then terminate the camera. However I was wondering if there is an easier way as I would like to keep the first person perspective whilst the chopper is going down.
Title: Re:Tailrotor script
Post by: Kuro on 07 Apr 2003, 14:00:05
Hallo,

look under

http://www.ofpec.com/includes/download2.php?id=241 (http://www.ofpec.com/includes/download2.php?id=241)

Thats the script you want.

Kuro
Title: Re:Tailrotor script
Post by: the corinthian on 07 Apr 2003, 16:56:33
great stuff thanks