RaiseSiegeLadder
Stands a fallen siege ladder up against its wall again.
As a player’s use key at its foot would: it swings back up over its raise time (SetSiegeEngineRules’ raiseSeconds, 6 by
default) and can be climbed once it stands. Refused (the second value says why) unless it lies whole on the ground.
Syntax
Section titled “Syntax”RaiseSiegeLadder(id)| Parameter | Type | |
|---|---|---|
id |
number | the ladder |
Returns
Section titled “Returns”boolean, string - whether it goes up, and why not
Example
Section titled “Example”-- a new wave: the attackers' ladders go back upfor _, id in ipairs(GetSiegeEngines()) do if GetEntityTemplate(id) == "ladder" then RaiseSiegeLadder(id) endendSee also
Section titled “See also”PushSiegeLadder · SetSiegeEngineHealth · the Siege engines group of the index
