Function
Fast
Bleeding edge only
Entity:SetSpawnMode
Overrides when this Entity finishes spawning, from the Constructor of an <a href='/docs/core-concepts/scripting/inheriting-classes'>Inherited Class</a>.<br><br>Only <code>SpawnMode.AfterConstructor</code> and <code>SpawnMode.Manual</code> are accepted, and only while the Entity has not finished spawning yet.
Syntax
my_entity:SetSpawnMode(spawn_mode)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
spawn_mode
|
SpawnMode | — | Only <code>SpawnMode.AfterConstructor</code> and <code>SpawnMode.Manual</code> are accepted |