//:://///////////////////////////////////////////// //:: On Conversation //:: speaksitting //:: Created By: r3plica //:: Created On: Jan 03, 2005 //::////////////////////////////////////////////// void main() { if(GetCommandable(OBJECT_SELF)){ { BeginConversation(); } ClearAllActions(); object oPC = GetPCSpeaker(); object oGhoul = GetNearestObjectByTag("Ghoul", oPC, 1); string sGhoul = GetTag(OBJECT_SELF); string sFloor = "FLOOR_" + sGhoul; object oSitplace = GetNearestObject(); if (GetTag (oSitplace) == sFloor) { int nChair = 1; object oChair; oChair = GetNearestObjectByTag(sFloor, oGhoul, nChair); AssignCommand(oGhoul, ActionPlayAnimation( ANIMATION_LOOPING_SIT_CROSS,0.0,4000.0) ) ; } } }