Skip to content

Object:IsGarrisoned

Check whether this object is garrisoned.

object:IsGarrisoned()

Inputs: None beyond the Object receiver.

Output: Boolean or nil. Garrison state.

Errors and unavailable states: A wrong receiver can raise a Lua argument error. An unavailable live read returns nil as described in Output.

See Lua values and game objects for lifetime and enum guidance.