Lankhmar_PRC8/_module/nss/dealerstayput.nss
Jaysyn904 ebc0c6a9b2 Initial commit
Initial commit [v9.7]
2025-04-03 12:54:47 -04:00

18 lines
371 B
Plaintext

void main()
{
if(GetCommandable(OBJECT_SELF)){
//This sets the NPC as the speaker
{
BeginConversation();
//This starts the conversation script.
}
ClearAllActions();
// Clears the actions so the NPC will not follow you with his/her eyes
int nChair = 1;
object oChair = GetNearestObjectByTag("DealerChair", OBJECT_SELF, nChair);
ActionSit(oChair);
//Sits the NPC down
}
}