GetCurrentChallenge Function

Gets the current map information.

Syntax

TM::GameCtnChallenge@ GetCurrentChallenge()

Return value

TM::GameCtnChallenge@
The current loaded map. If no map is loaded, null will be returned.

Remarks

If your plugin changes behavior depending on the specific map, you can identify the map using this function and accessing the Uid property of the returned object.