Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.2 KB

File metadata and controls

30 lines (22 loc) · 1.2 KB

IETS

Telegram Discord IRC Patreon

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.

Installation

pnpm install @bgforge/iets

Usage

const 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.