I want to have an NPC simulate sleep and not be able to be woken up. So, what am I doing wrong?
AssignCommand(oCreature, ActionPlayAnimation(ANIMATION_LOOPING_DEAD_BACK, 1.0, 30000.0));
DelayCommand(1.0, ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectCutsceneParalyze(), oCreature));
The first line work -- NPC is flat on back. The second link doesn't do anything. As soon as I click on the sleeping NPC, the NPC is rotated to face the PC and stands.