|
|
@ -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();
|
|
|
|