Home   Help Search Login Register  

Author Topic: Cancelling Active ppEffects  (Read 1480 times)

0 Members and 1 Guest are viewing this topic.

Offline solrac42

  • Members
  • *
Cancelling Active ppEffects
« on: 16 Jan 2010, 11:41:54 »
I am trying to disable ppEffects started by another script embedded in ArmA II, mainly when you die in a mission and the ppEffects change the screen to a blurred view etc.

I have tried using the following :-

"radialBlur" ppEffectEnable false
"chromAberration" ppEffectEnable false
"wetDistortion" ppEffectEnable false
"colorCorrections" ppEffectEnable false
"dynamicBlur" ppEffectEnable false
"filmGrain" ppEffectEnable false
"colorInversion" ppEffectEnable false

but this does not cancel the ppEffects already activated, I do not know the handle to use with "ppEffectDestroy _hndl " because it was started by the embedded script in ArmA II.

Does anyone know of a way of cancelling active ppEffects ?
« Last Edit: 19 Jan 2010, 11:14:31 by solrac42 »

Offline DeanosBeano

  • Addons Depot Staff
  • *****
  • SirDeanosbeano bstowed on me by sui ;)
    • Fraghaus
Re: Cancelling Active ppEffects
« Reply #1 on: 16 Jan 2010, 12:26:09 »
 a place to start maybe  here  search bis wiki or kegetys converted spectator script mabne ?

 
Quote
onPlayerKilled
    Launched when the player dies permanently, and does not become a seagull.
    This script replaces the default death sequence. Make sure you place the command enableEndDialog somewhere in your script, as this will then cause the dialog that allows you to load, retry, or quit to appear.
    In Armed Assault, this script is only executed if Respawn in Description.ext is set to NONE (0). If respawn is set to some other value, then the onPlayerKilled script is not executed.

 hope it helps
I love ofp