Even if it's just having a fatigue of 0, which i'm not sure would work, would be good too, but i still need to be able to talk to them.
EDIT: It doesn't really need to be like on a bed, just where the npc is laying down in any position on the floor
begin 01mc_torturedSplatterscriptshort doonceif ( DoOnce == 1 ) returnendif01mc_torturedsoul->forcegreetingset DoOnce to 1end 01mc_torturedsplatterscript
"STC_torturedsoul"->ForceGreeting
short liestatusif ( liestatus == 0 ) set liestatus to 1 AIWander 0 0 0 0 0 0 0 0 0 0 100 0 ; this is lying down animationendif
float timerif ( MenuMode == 1 ) ; to prevent counter to work while you check inventory mid-action returnendifif ( liestatus == 2 ) ; see comment below set liestatus to 3 set timer to 0 AIWander 0 0 0 0 0 0 0 0 0 100 1 ; this is standing up and having a stretch animation. Note that '100' comes one zero sooner.endifif ( liestatus == 3 ) set timer to timer + GetSecondsPassed if ( timer >= 7.5 ) ; this is how long standing up animation takes AIWander 0 0 0 40 20 10 0 0 ; normal standing with idles set liestatus to 4 endifendif
short liestatusif ( liestatus == 0 ) set liestatus to 1 AIWander 0 0 0 0 0 0 0 0 0 0 100 0 ; this is lying down animationendif
float timerif ( MenuMode == 1 ) ; to prevent counter to work while you check inventory mid-action returnendifif ( liestatus == 2 ) ; see comment below set liestatus to 3 set timer to 0 AIWander 0 0 0 0 0 0 0 0 0 100 1 ; this is standing up and having a stretch animation. Note that '100' comes one zero sooner.endifif ( liestatus == 3 ) set timer to timer + GetSecondsPassed if ( timer >= 7.5 ) ; this is how long standing up animation takes AIWander 0 0 0 40 20 10 0 0 ; normal standing with idles set liestatus to 4 endifendif