SetGatherPoint¶
SetGatherPoint(buildings, target) · SetGatherPointTracked(buildings, target)
Inputs: buildings is one owned building or a dense array; target is an
Object or map position.
Description: Requests a rally/gather point. An object
target is re-read before submission; the tracked form can report
rally-target-changed if it disappears or changes definition. Observe the
building's live state before relying on the new point.
Output: SetGatherPoint returns true for queue admission, otherwise false.
SetGatherPointTracked returns accepted, receipt.
Errors: Wrong Lua argument types raise an argument error. Invalid buildings or
targets reject. A changed or lost object target can reject later as
rally-target-changed. A tracked receipt gives the rejection reason when available.