OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Trasher on 05 Aug 2004, 17:47:13

Title: player fade to black
Post by: Trasher on 05 Aug 2004, 17:47:13
how could i get the players screen to fade to black ?? its a Mp mission so it must be just the players screen ! see here

removeallweapons player
player setcaptive true

~2

_player = _this select 0
player switchMove "FXstandsuruniv"

*Fade here*

~10

_player setPos (getPos prison)
player setDammage 0
player switchmove "Null"

*Fade to normal again*
Title: Re:player fade to black
Post by: Nemesis6 on 05 Aug 2004, 18:33:08
TitleCut ["","BLACK OUT",2] <--- Seconds for the effect to black in, or out. :-)

You can use BLACK IN and BLACK OUT.
Title: Re:player fade to black
Post by: Trasher on 05 Aug 2004, 18:34:51
does it fade just for the player or all player???
Title: Re:player fade to black
Post by: Nemesis6 on 05 Aug 2004, 18:43:56
I'm pretty sure it only happens for the player executing the script.
Title: Re:player fade to black
Post by: Trasher on 05 Aug 2004, 19:20:35
i hope so hehe in a firefight i gets dark for everyone "what the F**K!!!"   ;D