OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Silver Fox on 14 Jan 2003, 11:46:35

Title: Beat the YOU ARE DEAD?
Post by: Silver Fox on 14 Jan 2003, 11:46:35
Hey guys this may sound a fairly random question but is is posible to beat the "you are dead" you know the one which pops up when you die   :gunman: :beat:  ?

I just wanna run a small cutscene! The below is what i thought would work but it did not  :(

Trigger =    Condition=   not(alive myguy)
                  Activation=   [] exec "myscript.sqs"

When he dies it goes you are dead, and my script wont run?

Im probly being very stupid just for a change  ???

Please help me out Guys  ;D
Title: Re:Beat the YOU ARE DEAD?
Post by: Padimite on 14 Jan 2003, 12:24:32
what you have to do is make a .sqs named 'onplayerkilled.sqs'. When you get killed this will run automatically without triggers.  I got this from SnYpir's tutorial here: http://www.ofpec.com/editors/browse.php?browsewhat=0&category=0_7
Title: Re:Beat the YOU ARE DEAD?
Post by: Silver Fox on 14 Jan 2003, 12:28:19
Cheers Padimite Ill look into it  ;D