Skip to content

waitBy beta ​

Function of @v12-engine/engine

ts
export declare function waitBy(world: World, entity: Entity, order: Order<WaitState>, target: Entity): void;

Has the attacker let go of the target and wait for room by it (queuePoint): no spot held there, no swing, walking out of the way of those fighting it to stand. What holdOff does when there is no room or no way; a game's own order may call it as it likes