Rune_PRC8/_module/nss/npcsitstay.nss
Jaysyn904 d1c309ae63 Initial commit
Initial commit
2024-09-13 09:10:39 -04:00

20 lines
482 B
Plaintext

#include "x0_i0_spawncond"
#include "x0_i0_walkway"
#include "nw_o2_coninclude"
void main()
{
SetListeningPatterns();
WalkWayPoints();
GenerateNPCTreasure();
{
string sMyTagName = GetTag(OBJECT_SELF);
string sSittableTagName = "CHAIR_" + sMyTagName;
int nChair = 1;
object oChair;
oChair = GetNearestObjectByTag(sSittableTagName, OBJECT_SELF, nChair);
ActionSit(oChair);
}
}