OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: 24Gamer on 12 Jun 2004, 18:32:30

Title: Player Camera
Post by: 24Gamer on 12 Jun 2004, 18:32:30
ok what i am trying to do is make a camera sequence after the player has died, e.g. spin around him etc. but when i make a trigger with Not Alive Player as activation it makes everyone on the server go into the camera sequence, what do i need to do?  :-\
Title: Re:Player Camera
Post by: macguba on 12 Jun 2004, 18:54:24
Create a script file, put it in the mission directory and name it onPlayerKilled.sqs.   It will play automatically when the player is killed.  It is advisable to use the original file of this name as the template:  can't remember where it is, I think it's wrapped up in a .pbo called scripts somewhere.   Explore the Flashpoint directory, it's not hard to find.

No idea if this will work in MP though.
Title: Re:Player Camera
Post by: 24Gamer on 12 Jun 2004, 19:57:13
surely theres a simpler way of only running it on the player computer
Title: Re:Player Camera
Post by: Planck on 12 Jun 2004, 20:12:49
It is simple enough, how much simpler did you want?

Opening a pbo to extract a script is very simple, also putting a script in you mission folder is simple.

I simply can't think of a simpler way.

 ;D ;D ::)


Planck
Title: Re:Player Camera
Post by: 24Gamer on 13 Jun 2004, 04:04:20
LOL  ;)
Title: Re:Player Camera
Post by: dmakatra on 13 Jun 2004, 08:02:07
LMAO, that was simple. :D

:beat: *Gets Shot* :beat:
Title: Re:Player Camera
Post by: DBR_ONIX on 13 Jun 2004, 11:19:00
onPlayerKilled.sqs in in scripts.pbo in Data (Folder) I'm sure
I don't have OFP here.. SO can't check..

Use DePBO on it.. It opens fine :)

GD luck!
-Ben