1. Animals
  2. Abilities
  3. Conditions
  4. Tool/Weapon
  5. Equipped
  6. Food/Medicine
  7. Items
  8. Attributes
  9. Creatures
  10. Blocks
  11. Props
  12. API Types
  13. API Functions

LT_entity_count

number LT_entity_count()

Returns the current number of entities in the entire game. In some situations, especially during multiplayer, this number may be lower than the entities that actually exist in the current save data. Entities must be loaded into the current game to exist.