Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mirage Source 4
If you kill npcs on a map, walk off the map, then come back, they don't show properly.

I talked to Dugor about this and he came up with the start of how to fix it, this will make them appear if they move, but they still go poof.

HandleSpawnNpc - client side

Code:
Dim i As Long

At the bottom of the sub, before "End Sub" add this:

Code:
High_Npc_Index = 0
     For n = 1 To MAX_MAP_NPCS
        If MapNpc(n).Num > 0 Then
            High_Npc_Index = High_Npc_Index + 1
        End If
     Next
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)