21 lines
523 B
Plaintext
21 lines
523 B
Plaintext
|
// 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();
|
||
|
|
||
|
}
|
||
|
|