LOOKUP1.BIN

From OHRRPGCE-Wiki
Jump to navigationJump to search

LOOKUP1.BIN contains the lookup table for Script Triggers, which abstract script ID numbers so that each script referenced in Custom receives a permanent trigger ID linked to its name, while its actual ID number is free to vary and be autoassigned (by HSpeak). The "1" on the end of the filename is a relic; there are no other trigger lookup tables (initially it was planned to add more).

The lumps are in binary records 40 bytes in size where record n is the data for the trigger of ID n.

About Formal Specs

Offset Data Meaning
0 INT (1) Script ID number, 0 if not used
1-19 FVSTR (1i+36b=38b) Script name