IETS - v0.5.1
    Preparing search index...

    Function AddGlobals

    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 will add the variable specified by parameter 2 onto the variable specified by parameter 1. It only works for variables in the "GLOBAL" scope. An example script is below.

       IF
         Global("Var1","GLOBAL",0)
       THEN
         RESPONSE #100
           SetGlobal("Var1","GLOBAL",75) //Var1 = 75
           SetGlobal("Var2","GLOBAL",25) //Var2 = 25
           AddGlobals("Var1","Var2") //Var1 = 100
       END
      

      Parameters

      • name: string
      • name2: string

      Returns Action