Method GameObject:SetSpawnedByDefault [-] [+]

Sets whether or not the GameObject will be spawned by default

Primarily used for temporary spawns.

Synopsis

GameObject:SetSpawnedByDefault( spawn )

Arguments

boolean spawn (true)

If false, it will prevent the GameObject from respawning by default.

Returns

Nothing.

Generated on
© 2010 - 2024 Eluna Lua Engine