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

Summary

Returns true if NPC has been summoned.

Arguments

bool IsNPCSummoned(string name)

Example(s)

  • Lua
    Prints true to the console if Guide has been summoned. Should always be true. Case sensitive.
Tools.WriteLine(tostring(Tools.IsNPCSummoned("Guide")))