API Class: Tools.ActiveNPCCount() - SignatureBeef/Terraria-s-Dedicated-Server-Mod GitHub Wiki

Summary

Returns the active npc count as an integer.

Arguments

int ActiveNPCCount()

Example(s)

Lua
Returns the active npc count as an integer.

npcCount = Tools.ActiveNPCCount()