SetPlayerEffect

SetPlayerEffect
void SetPlayerEffect ( int effect, int duration )

code contained in PLAYER_Scripts.dh

Properties

 * effect - int pointer to effect list
 * duration - int value in tics for length of effect

Description
Sets the designated effect and duration for the player. Effects include:
 * EFFECT_NONE
 * EFFECT_POISON
 * EFFECT_BURNING
 * EFFECT_BLIND
 * EFFECT_STARVING
 * EFFECT_BLEEDING
 * EFFECT_RADIATION