HolyLib Wiki

HolyLib:OnMapChange

  HolyLib:OnMapChange( string levelName, string langmarkName )

Description

Called right before a level transition occurs, this hook allows you to react to map changes initiated via changelevel.

Recently Added

This was recently added in version (0.8 - DEV).

Arguments

1string levelName
The name of the next map
2string langmarkName
The name of the landmark the players would spawn at. Can be an empty string.