mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-02 14:57:59 +03:00
ToggleAI script instruction
This commit is contained in:
parent
4559e932ae
commit
dff3cf162d
8 changed files with 76 additions and 33 deletions
|
@ -59,6 +59,7 @@ namespace Compiler
|
|||
extensions.registerInstruction ("modfight", "l", opcodeModFight, opcodeModFightExplicit);
|
||||
extensions.registerInstruction ("modflee", "l", opcodeModFlee, opcodeModFleeExplicit);
|
||||
extensions.registerInstruction ("modalarm", "l", opcodeModAlarm, opcodeModAlarmExplicit);
|
||||
extensions.registerInstruction ("toggleai", "", opcodeToggleAI, opcodeToggleAI);
|
||||
extensions.registerFunction ("gethello", 'l', "", opcodeGetHello, opcodeGetHelloExplicit);
|
||||
extensions.registerFunction ("getfight", 'l', "", opcodeGetFight, opcodeGetFightExplicit);
|
||||
extensions.registerFunction ("getflee", 'l', "", opcodeGetFlee, opcodeGetFleeExplicit);
|
||||
|
|
|
@ -51,6 +51,8 @@ namespace Compiler
|
|||
const int opcodeGetAlarmExplicit = 0x20001c6;
|
||||
const int opcodeGetLineOfSight = 0x2000222;
|
||||
const int opcodeGetLineOfSightExplicit = 0x2000223;
|
||||
const int opcodeToggleAI = 0x2000224;
|
||||
const int opcodeToggleAIExplicit = 0x2000225;
|
||||
}
|
||||
|
||||
namespace Animation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue