Skip to content

SetUnitStanceGarrison

SetUnitStanceGarrison(units)

Input: units is one actor or a dense array.

Description: Alias for SetUnitStanceSeekShelter, with the same shelter request and boolean result. Use SetUnitStanceSeekShelterTracked if transport evidence is needed.

Output: SetUnitStanceGarrison returns true for queue admission, otherwise false.

Errors: Wrong Lua argument types raise an argument error. The same actor, layout, and session failures as SetUnitStanceSeekShelter reject. A tracked receipt gives the rejection reason when available.