Skip to content

setFireMaxGenerations

Shared
NEON APIManaged fire

Available in Neon, not standard MTA

Bounds how far a spreading managed fire can propagate.

Syntax

bool setFireMaxGenerations(fire theFire, int generations)

Arguments

theFirefire

Managed fire element.

generationsint

Generation limit from 0 through 255. 0 means the fire never produces a child.

Returns

true when applied; false for an invalid element or value.

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.

Where this comes from

RELATED NEON APIS

Continue exploring

Read the system guide →