ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. getFires

Function

getFires

ServerFireTrilogy Hub only

Returns the list of burning fires started by the server.

Syntax

table getFires()

Returns

A table of { id, x, y, z, size, dimension } sorted by number.

Example

for _, f in ipairs(getFires()) do
    outputServerLog(("Ogień %d w %.1f, %.1f, %.1f"):format(f.id, f.x, f.y, f.z))
end