IETS - v0.5.1
    Preparing search index...

    Function ChangeAIScript

    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 changes the assigned script file for the active creature. The new script name is specified in the scriptfile parameter. The level parameter dictates the script level to change - values are from [scrlev.ids]({{ ids }}/scrlev.htm). Scripts can be set for any scriptable object (container, creature, door etc.), but are not persisted.

       IF
         See([EVILCUTOFF.0.DOG])
       THEN
         RESPONSE #100
           ChangeAIScript("DOGFIGHT",DEFAULT)
       END
      

      Parameters

      • scriptfile: string
      • level: ScrLev

      Returns Action