Progetto H — Riferimento API Documentazione & Scripting
Funzione Condiviso Veloce Solo bleeding edge

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.

Non ancora tradotto

Sintassi

Lua
my_entity:SetSpawnMode(spawn_mode)

Parametri

Nome Tipo Predefinito Descrizione
spawn_mode SpawnMode Sono accettati solo <code>SpawnMode.AfterConstructor</code> e <code>SpawnMode.Manual</code>