LOOKUP.BIN

From OHRRPGCE-Wiki
Jump to: navigation, search

LOOKUP##.BIN contains the Script Trigger lookup table for triggers of type ## (currently there is only one type), which abstracts script id numbers so that each script recieves a permament trigger id linked to its name, while its id number is free to vary and be autoassigned.

Note: Recently the trigger system seems a bit unsatisfactory, and will be reconsidered before a second trigger type/lump is added, while drastic changes are still possible.

Trigger type Lump name Meaning
1 LOOKUP1.BIN Plotscripts

The lumps are in binary records 40 bytes in size where record n is the data for the trigger of type ## and 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
Personal tools