MDE Scripting: OpenSeason

From Nomad DB
Revision as of 20:27, 27 October 2020 by Jan (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Syntax
game.traffic:OpenSeason(number seasonID)
Module Traffic
Library Game
Game Mafia: Definitive Edition


Description

Set the current season ID.

You have to close the previous season before with CloseSeason.


Parameters

Name Type Description
seasonID number Find season id here : Seasons


Returns

Returns nothing.


Examples

game.traffic:CloseSeason() -- closes the previous season
game.traffic:OpenSeason(1) -- set the current season as the year 1930