Skip to content

LoadSiegeEngine

Loads a siege engine, as its operator’s R would.

A trebuchet winds its arm down first (35 s), then takes its stone (6 s); a cannon takes its powder and ball (10 s). Nobody needs to work it. It is refused - the second value says why, in the words a player would read - while it is busy, loaded already, wrecked, or out of shots.

LoadSiegeEngine(id)
Parameter Type
id number the engine

boolean, string - whether it loads, and why not

local ok, why = LoadSiegeEngine(id)
if not ok then Log("the engine does not load: " .. why) end

FireSiegeEngine · SetSiegeEngineShots · SetSiegeEngineRules · the Siege engines group of the index