generated from Jaysyn/ModuleTemplate
Initial commit
Initial commit
This commit is contained in:
19
_module/nss/npcsitstay.nss
Normal file
19
_module/nss/npcsitstay.nss
Normal file
@@ -0,0 +1,19 @@
|
||||
#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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user