Lua Events/OnNewGame
Event
OnNewGame
Description
Triggered after a new world has been initialized.
Parameters
- IsoPlayer The player who's starting the game.
- IsoGridSquare The grid square where the player is located.
Examples
local function OnNewGame(player, square) -- Your code here end Events.OnNewGame.Add(OnNewGame)