Initial commit
Initial commit [v9.7]
This commit is contained in:
17
_module/nss/dealerstayput.nss
Normal file
17
_module/nss/dealerstayput.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
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
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user