02-01-2007, 12:06 PM
Non-Playable Character Chat
This was %100 done by Pando.
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
This was %100 done by Pando.
- Features
NPC Say
Player Response
NPC Response
Visual NPCS
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