IETS - v0.5.1
    Preparing search index...

    Function MoveToObject

    BG2 barrel re-exports.

    Generated by ts-update. Do not edit manually.

    Uses named re-exports (not export *) so esbuild can statically resolve each binding without falling back to runtime __reExport helpers for externalized .d.ts modules.

    • This action instructs the active creature to move to the specified object. The action does not update the current position of the actor, saved in ARE files. The example script shows the creature moving towards the nearest enemy.

       IF
         See(NearestEnemyOf())
         !Range(NearestEnemyOf(),4)
       THEN
         RESPONSE #100
           MoveToObject(NearestEnemyOf())
       END
      

      Parameters

      Returns Action