Added PnP Dire Rat.

Added PnP Dire Rat.
This commit is contained in:
Jaysyn904
2021-07-21 17:48:43 -04:00
parent 552f1686c8
commit b01c5cc7db
10849 changed files with 171143 additions and 1 deletions

View File

@@ -0,0 +1,36 @@
//::///////////////////////////////////////////////
//:: On Conversation
//:: speaksitting
//:: Created By: Hillary Skeryanc-Mann
//:: Created On: March 22, 2003
//:://////////////////////////////////////////////
void main()
{
ExecuteScript("prc_npc_conv", OBJECT_SELF);
ExecuteScript("nw_c2_default4", OBJECT_SELF);
if(GetCommandable(OBJECT_SELF)){
{
BeginConversation();
}
ClearAllActions();
string sMyTagName = GetTag(OBJECT_SELF);
string sChairTag = "CHAIR_" + sMyTagName;
string sFloorTag = "FLOOR_" + sMyTagName;
object oSitplace = GetNearestObject();
if (GetTag (oSitplace) == sChairTag)
{
int nChair = 1;
object oChair;
oChair = GetNearestObjectByTag(sChairTag, OBJECT_SELF, nChair);
ActionSit(oChair);
}
else if (GetTag (oSitplace) == sFloorTag)
{
int nChair = 1;
object oChair;
oChair = GetNearestObjectByTag(sFloorTag, OBJECT_SELF, nChair);
ActionDoCommand( ActionPlayAnimation( ANIMATION_LOOPING_SIT_CROSS,0.0,4000.0) ) ;
}
}
}