IETS - v0.5.1
    Preparing search index...

    Function Enemy

    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 is used to change the allegiance of the active creature to enemy (making them hostile to the PC). This example script, from a peasant, will turn the creature hostile if it is attacked.

       IF
         AttackedBy([GOODCUTOFF],DEFAULT)
         Allegiance(Myself,NEUTRAL)
       THEN
         RESPONSE #100
           Enemy()
       END
      

      Returns Action