SetEqLerp( <eqLerp> <eqIndex> )


Module: Player
SP Only

Summary:

Set the blend amount for the specified eqIndex, for eqIndex 0 if none is specified. Automatically sets the blend amount of the other eqIndex to 1-eqLerp.



Call this on:

The player



Example:

level.player SetEqLerp( 0.25, 1 );  // now using 25% of eq 1 and 75% of eq 0.



Required Args:

  • 1 : <eqLerp>: float value from 0 to 1, percentage of specified eqIndex, 0 if none specified.
  • 2 : <eqIndex> : the eq index to use (0 and 1).