IETS - v0.5.1
    Preparing search index...

    Function DestroyItem

    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 removes a single instance of the specified item from the active creature, unless the item exists in a stack, in which case the entire stack is removed. The example script is from ar1000.bcs.

       IF
         Global("CerndBaby","GLOBAL",1)
         Global("CerndBabyTake","AR1000",0)
       THEN
         RESPONSE #100
           SetGlobal("CerndBabyTake","AR1000",1)
           TakePartyItem("misc8t")
           DestroyItem("misc8t")
       END
      

      Parameters

      Returns Action