Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Non-Playable Character Chat
#1
Non-Playable Character Chat
This was %100 done by Pando.
  • Features
    NPC Say
    Player Response
    NPC Response
    Visual NPCS
This system will work when you press enter next to an NPC.
Tested on MS 3.03 and should work on 3.03 and mse v-x.
After This, your attacksay will not work.


First Serverside ::

Add this to the bottom of modGameLogic
[code]
Public Sub TalkToNpc(ByVal Player As Long, ByVal MapNpcNum As Long)
Dim MapNum As Long, NpcNum As Long

' Check for subscript out of range
If IsPlaying(Player) = False Or MapNpcNum MAX_MAP_NPCS Then
Exit Sub
End If

' Check for subscript out of range
If MapNpc(GetPlayerMap(Player), MapNpcNum).Num
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)