MWScript: updated vmformat.txt, changed opcodes to fix sequence.

Opcodes for StartCombat, StopCombat, GetTarget now follow the last
previous opcode.
actorid
Sergey Shambir 11 years ago
parent d536ff3cdc
commit d5a0ff17fd

@ -371,4 +371,10 @@ op 0x2000230: Resurrect, explicit
op 0x2000231: GetSpellReadied
op 0x2000232: GetSpellReadied, explicit
op 0x2000233: GetPcJumping
opcodes 0x2000234-0x3ffffff unused
op 0x2000234: GetTarget
op 0x2000235: GetTargetExplicit
op 0x2000236: StartCombat
op 0x2000237: StartCombatExplicit
op 0x2000238: StopCombat
op 0x2000239: StopCombatExplicit
opcodes 0x2000239-0x3ffffff unused

@ -53,12 +53,12 @@ namespace Compiler
const int opcodeGetLineOfSightExplicit = 0x2000223;
const int opcodeToggleAI = 0x2000224;
const int opcodeToggleAIExplicit = 0x2000225;
const int opcodeGetTarget = 0x2000b23;
const int opcodeGetTargetExplicit = 0x2000b24;
const int opcodeStartCombat = 0x2000b25;
const int opcodeStartCombatExplicit = 0x2000b26;
const int opcodeStopCombat = 0x2000b27;
const int opcodeStopCombatExplicit = 0x2000b28;
const int opcodeGetTarget = 0x2000234;
const int opcodeGetTargetExplicit = 0x2000235;
const int opcodeStartCombat = 0x2000236;
const int opcodeStartCombatExplicit = 0x2000237;
const int opcodeStopCombat = 0x2000238;
const int opcodeStopCombatExplicit = 0x2000239;
}
namespace Animation

Loading…
Cancel
Save