Skip to content

SetSiegeEngineOperator

Puts a player at a siege engine as its operator, or takes its operator away.

The player works it from wherever they stand - walking off lets go of it, as it does for anyone. Someone else working it lets go. A player works one engine at a time.

SetSiegeEngineOperator(id [, pid])
Parameter Type
id number the engine
pid number the player; nil = nobody works it (optional)

boolean - false when it is no engine, it is wrecked, or the player is not in its world

SetSiegeEngineOperator(id, pid) -- the gunner's place is theirs

GetPlayerSiegeEngine · OnSiegeEngineAction · the Siege engines group of the index