- Apr 17, 2003
- 1,397
- 0
- 193
Right here is a little NPC scirpt i thought you might all should know
Firstly make a QFunction-0.txt in your MArket_def folder. now put this scipt in it
Now make a item in the DB with :
stdmode 31 and use anicount between 1-30
if you look at the scipt, its a basic NPC scirpt, but it makes it so that when you double click a item, it will use the NPC scirpt, so if u make a item with
stdmode 31 and anicount 1
this will appear, if u use a item with stdmode 31 and anicount 2
will appear...
Hope this is helpful to you lot
Firstly make a QFunction-0.txt in your MArket_def folder. now put this scipt in it
Code:
[@StdModeFunc1]
#SAY
You just used a item that has\
stdmode 31 and anicount 1\
<ok/@next1>
[@next1]
#SAY
Hi
[@StdModeFunc2]
#SAY
You just used a item that has\
stdmode 31 and anicount 2\
<ok/@next1>
Now make a item in the DB with :
stdmode 31 and use anicount between 1-30
if you look at the scipt, its a basic NPC scirpt, but it makes it so that when you double click a item, it will use the NPC scirpt, so if u make a item with
stdmode 31 and anicount 1
Code:
[@StdModeFunc1]
#SAY
You just used a item that has\
stdmode 31 and anicount 1\
<ok/@next1>
[@next1]
#SAY
Hi
this will appear, if u use a item with stdmode 31 and anicount 2
Code:
[@StdModeFunc2]
#SAY
You just used a item that has\
stdmode 31 and anicount 2\
<ok/@next1>
will appear...
Hope this is helpful to you lot