Function moveTo

  • Replacement for the builtin moveTo, but passes through options to PathFinder. Supports multiple targets, flee, etc. See MoveOpts.

    If fallbackOpts is specified, the options will override opts only if repathIfStuck triggers a repath. This lets you ignore creeps until a creep gets stuck, then repath around them, for example.

    Parameters

    Returns -2 | -10 | CreepMoveReturnCode | -5

Generated using TypeDoc