SlashCo Wiki

SlashCo.DefaultConditions

 boolean SlashCo.DefaultConditions( Entity ent )

Description

Default set of conditions for weighted spawn tables.
An entity passes if it is valid, is not disabled, and does not already have a spawned entity.

Arguments

1Entity ent

Spawn entity to check

Returns

1boolean valid

Whether the entity can be selected