Battledale_PRC8/_module/nss/sc_sitbedroll.nss

9 lines
308 B
Plaintext
Raw Permalink Normal View History

void main()
{
object oUser = GetLastUsedBy();
object oBedroll = CreateObject(OBJECT_TYPE_PLACEABLE, "bedrolls001", GetLocation(oUser));
AssignCommand(oUser, PlayAnimation(ANIMATION_LOOPING_SIT_CROSS,1.0f, 3600.0f));
DestroyObject(OBJECT_SELF);
SetLocalObject(oUser,"Bedroll",oBedroll);
}