TypeScript type definitions for Infinity Engine scripting, for use in TBAF and TD.
Provides branded types, object specifiers, IDS constants, and typed action/trigger function declarations for IDE autocompletion and type checking.
pnpm install @bgforge/ietsconst LVAR_doomed = "doomed";
if (See(Player1) && Global(LVAR_doomed, LOCALS, 0)) {
SetGlobal(LVAR_doomed, LOCALS, 1);
FaceObject(Player1);
SmallWait(8);
StartDialog("WM_RHIA", Player1);
}See more in docs.