Aantioch_Infernum/_module/nss/spawn_statue.nss
EpicValor c369af5071 I figured out why commoner types weren't using civilized animations
Most changes were due to that and other behaviors I wanted ambient npcs to do.
2023-09-09 19:56:22 -05:00

16 lines
483 B
Plaintext

void main()
{
if ( GetLocalInt(GetModule(), "DO_ONCE__" + GetTag(OBJECT_SELF)) )
return;
SetLocalInt(GetModule(), "DO_ONCE__" + GetTag(OBJECT_SELF), TRUE);
object oTarget = OBJECT_SELF;
effect eMind2 = EffectCutsceneParalyze();
effect eMind = EffectVisualEffect(VFX_DUR_PETRIFY);
DelayCommand(1.0,ApplyEffectToObject(DURATION_TYPE_PERMANENT, eMind, oTarget));
DelayCommand(1.0,ApplyEffectToObject(DURATION_TYPE_PERMANENT, eMind2, oTarget));
}