generated from Jaysyn/ModuleTemplate
Initial upload
Initial upload.
This commit is contained in:
20
_module/nss/cs_prophelper.nss
Normal file
20
_module/nss/cs_prophelper.nss
Normal file
@@ -0,0 +1,20 @@
|
||||
// onSpawn for Item Property Helper to enable listening for new item name
|
||||
|
||||
#include "x0_i0_anims"
|
||||
// #include "x0_i0_walkway" - in x0_i0_anims
|
||||
//#include "x0_i0_treasure"
|
||||
//#include "x2_inc_switches"
|
||||
|
||||
void main()
|
||||
{
|
||||
//using "**" listens to all text
|
||||
//the 777 is arbitrary and can be any number you like
|
||||
SetListenPattern(OBJECT_SELF, "**", 777);
|
||||
SetListening(OBJECT_SELF, TRUE); //be sure NPC is listening
|
||||
|
||||
SetLocalInt(OBJECT_SELF, "iListenFlag", FALSE);
|
||||
// SetListeningPatterns();
|
||||
WalkWayPoints();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user