Files
HeroesStone_PRC8/_module/nss/de1_con_sit.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

20 lines
671 B
Plaintext

/////////////////////////////////////
// Dragon's Edge
// by Charly Carlos
/////////////////////////////////////
// Conversation script placed in every first conversation node for NPC's that
// are sitting. Makes the creature continue to sit in the chair during conversation.
// Make sur to remove nw_walk_wp in the End Conversation -> Normally. Or use
// a script there that does not use WalkWayPoints().
/////////////////////////////////////
void main()
{
object oChair = GetNearestObjectByTag("Chair");
//Check if anyone is sitting in the chair
if(!GetIsObjectValid(GetSittingCreature(oChair)))
{
ClearAllActions();
ActionSit(oChair);
}
}