MultiplayerSpawner

Inherits: Node < Object

Properties

bool

auto_spawn

false

int

spawn_limit

0

NodePath

spawn_path

NodePath("")

Methods

Object

_spawn_custom ( Variant data ) virtual

void

add_spawnable_scene ( String path )

void

clear_spawnable_scenes ( )

String

get_spawnable_scene ( int path ) const

int

get_spawnable_scene_count ( ) const

Node

spawn ( Variant data=null )

Signals

  • despawned ( int scene_id, Node node )


  • spawned ( int scene_id, Node node )

Property Descriptions

Default

false

Setter

set_auto_spawning(value)

Getter

is_auto_spawning()


  • int spawn_limit

Default

0

Setter

set_spawn_limit(value)

Getter

get_spawn_limit()


Default

NodePath("")

Setter

set_spawn_path(value)

Getter

get_spawn_path()

Method Descriptions


  • void add_spawnable_scene ( String path )


  • void clear_spawnable_scenes ( )


  • String get_spawnable_scene ( int path ) const


  • int get_spawnable_scene_count ( ) const