Skip to content

setFireSpreadEnabled

Shared
NEON APIManaged fire

Available in Neon, not standard MTA

Allows or prevents a managed fire from spreading.

Syntax

bool setFireSpreadEnabled(fire theFire, bool enabled)

Arguments

theFirefire

Managed fire element.

enabledbool

Whether the fire may spread.

Returns

true when applied; false for an invalid element.

Ownership and lifecycle

A managed fire is an element owned by the resource that created it, so stopping that resource extinguishes its fires. Server-created fires are synchronized to every client, and lifetime is tracked as relative remaining time so a client joining mid-burn receives what is left.

Important behavior
  • Spreading is off by default. Pair it with setFireMaxGenerations to bound how far it can go.

Where this comes from

RELATED NEON APIS

Continue exploring

Read the system guide →