ChangeLevel( <mapname>, <persistent>, <exitTime> )


Module: Level
SP Only

Summary:

Changes to the new level



Example:

ChangeLevel( "burnville", false );



Required Args:

  • 1 : <mapname> The name of the map to change to.


Optional Args

  • 1 : <persistent> Flag allowing player to keep their inventory through the transition.
  • 2 : <exitTime> Time in seconds of the exit fade.