Skip to content

Quest Conditions Format

brett19 edited this page Oct 10, 2014 · 1 revision

Base Format

#header {
  uint32 trigger_count
  uint32 data_offset
  uint32 data_length
  for(i = 0; i < trigger_count; ++i) {
    uint32 name_hash;
    uint32 data_offset;
  }
}
#data {
  for() {
    uint32 opcode
    uint32 op_data[]
  }
}

Opcodes

All Opcodes match those from the source format, except for the addition of one additional opcode to specify the end of the trigger (0xFFFFFFFF). Additionally, all opcode parameters of the source format are expanded to 32bit values.

Clone this wiki locally