OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started 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? :-\
-
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.
-
surely theres a simpler way of only running it on the player computer
-
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
-
LOL ;)
-
LMAO, that was simple. :D
:beat: *Gets Shot* :beat:
-
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