Script Subrecord Collection

Format

Count Subrecord Name Type Info
+ SCHR Basic Script Data struct  
+ SCDA Compiled Script Source uint8[]  
+ SCTX Script Source char[]  
-*   Local Variables collection See below for details.
-* SCRO Reference formid or uint32 A local variable reference, or FormID of a ACTI, DOOR, STAT, FURN, CREA, SPEL, NPC_, CONT, ARMO, AMMO, MISC, WEAP, IMAD, BOOK, KEYM, ALCH, LIGH, QUST, PLYR, PACK, LVLI, ECZN, EXPL, FLST, IDLM, PMIS, FACT, ACHR, REFR, ACRE, GLOB, DIAL, CELL, SOUN, MGEF, WTHR, CLAS, EFSH, RACE, LVLC, CSTY, WRLD, SCPT, IMGS, MESG, MSTT, MUSC, NOTE, PERK, PGRE, PROJ, LVLN, WATR, ENCH, TREE, TERM, HAIR, EYES, ADDN or NULL record.

Local Variables

Count Subrecord Name Type Info
+ SLSD Local Variable Data struct  
+ SCVR Local Variable Name cstring  

SLSD

Name Type Info
Index uint32  
Unused byte[12]  
Flags uint8 See below for values.
Unused byte[7]  
Flag Values
Value Meaning
0x01 IsLongOrShort