Skip to content

Class "RoomConfigSpawns"⚓︎

Info

You can get this class by using the following function:

Example Code
1
2
3
4
local level = Game():GetLevel()
local roomDescriptor = level:GetCurrentRoomDesc()
local roomConfigRoom = roomDescriptor.Data
local spawnList = roomConfigRoom.Spawns

Operators⚓︎

__len ()⚓︎

int __len ( )⚓︎

The length (#) operation. Returns the amount of spawnables in this list.


Functions⚓︎

Get ()⚓︎

RoomConfig Spawn Get ( int idx )⚓︎

Returns a RoomConfig Spawn at the index of the list provided.


Variables⚓︎

Size⚓︎

const int Size⚓︎

The amount of spawnables in the list.



Last update: April 26, 2024