Lua Events/OnSeeNewRoom
< Lua Events(Redirected from Lua Events/OnSeeNewRoom)
Event
OnSeeNewRoom
Description
Triggered for each room about to get spawned, the first time a character gets close enough to the building where the room is located.
Parameters
- IsoRoom The room about to get spawned.
Examples
local function OnSeeNewRoom(room) -- Your code here end Events.OnSeeNewRoom.Add(OnSeeNewRoom)
See also
No related event.