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
| Parameter | Description |
|---|
| BaseObject | Self or Target (used to determine if the household is currently being played) |
Examples
| Description | BaseObject | Command |
|---|
| Check if a child can be born in the world for Self | Self | IsChildAllowedInWorld |
| Check if an NPC household can have a new baby | Target | IsChildAllowedInWorld |
| Verify world allows new births before triggering childbirth | Self | IsChildAllowedInWorld |