mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-29 04:06:40 +00:00
Add documentation for ACTN ess-record (activation flags)
This commit is contained in:
parent
0442bc98f3
commit
b98a076055
1 changed files with 14 additions and 0 deletions
|
@ -10,7 +10,21 @@ namespace ESSImport
|
||||||
void ActorData::load(ESM::ESMReader &esm)
|
void ActorData::load(ESM::ESMReader &esm)
|
||||||
{
|
{
|
||||||
if (esm.isNextSub("ACTN"))
|
if (esm.isNextSub("ACTN"))
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
Activation flags:
|
||||||
|
ActivationFlag_UseEnabled = 1
|
||||||
|
ActivationFlag_OnActivate = 2
|
||||||
|
ActivationFlag_OnDeath = 10h
|
||||||
|
ActivationFlag_OnKnockout = 20h
|
||||||
|
ActivationFlag_OnMurder = 40h
|
||||||
|
ActivationFlag_DoorOpening = 100h
|
||||||
|
ActivationFlag_DoorClosing = 200h
|
||||||
|
ActivationFlag_DoorJammedOpening = 400h
|
||||||
|
ActivationFlag_DoorJammedClosing = 800h
|
||||||
|
*/
|
||||||
esm.skipHSub();
|
esm.skipHSub();
|
||||||
|
}
|
||||||
|
|
||||||
if (esm.isNextSub("STPR"))
|
if (esm.isNextSub("STPR"))
|
||||||
esm.skipHSub();
|
esm.skipHSub();
|
||||||
|
|
Loading…
Reference in a new issue