Skip to main content

Condition_IsChildAllowedInWorld

Description

Checks whether a new child can be born in the current world based on population capacity. For the currently played household, only the maximum population is checked. For all other households, the world-wide child allowance is checked.

Parameters

ParameterDescription
BaseObjectSelf or Target (used to determine if the household is currently being played)

Examples

DescriptionBaseObjectCommand
Check if a child can be born in the world for SelfSelfIsChildAllowedInWorld
Check if an NPC household can have a new babyTargetIsChildAllowedInWorld
Verify world allows new births before triggering childbirthSelfIsChildAllowedInWorld