Aschbourne_PRC8/_module/tb_restcampfire.nss
GetOffMyYarn 8622e5ce08 Area Changes and other fixes
added areas and ccoh,
fixed some areas to work with crafting
fixed some on death issues
added server entry/ooc
2024-08-30 10:38:04 -04:00

12 lines
327 B
Plaintext

void main()
{
object oPC=GetLastUsedBy();
SetLocalInt(oPC, "PlayerWantsToRest", TRUE);
if(GetLocalInt(oPC,"restcycle")==0)
{
SetLocalInt(oPC,"restcycle",1);
}
AssignCommand(oPC,ActionPlayAnimation(ANIMATION_LOOPING_SIT_CROSS,1.0,240.0));
DelayCommand(2.5,AssignCommand(oPC,ActionRest()));
}