Mirage Source
Non-Playable Character Chat - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: Resources (https://mirage-engine.uk/forums/forumdisplay.php?fid=49)
+---- Thread: Non-Playable Character Chat (/showthread.php?tid=569)



Non-Playable Character Chat - Tony - 02-01-2007

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


- Matt - 02-01-2007

Is that sarcasm, or do you really like that? O_o

Hard to tell.


- Stomach Pulser - 02-01-2007

Nice, I like it!


- grimsk8ter11 - 02-01-2007

Pando you should implement my system to it :-p or upload it somehwere for me xD


- Obsidian - 02-01-2007

I agree with Dave... i do like the challenge... people can't just spend 30 seconds reading (or copying/pasting), and have a feature like this... they actually have to understand and do things a little on their own. Great job pando!


- Tony - 02-01-2007

grimsk8ter11 Wrote:Pando you should implement my system to it :-p or upload it somehwere for me xD

Yeah, Ill add an "Add On" - by gramsk8ter11 later.

:: Pando


- Obsidian - 02-01-2007

what system is grim talking about?


- Tony - 02-01-2007

Oh, his npc chat system that he sent me. I'll see what I can do Grim :]

:: Pando


- Tony - 29-01-2007

You do it. I'm not being nice anymore. Learn how to program and stop being a boob.


- genusis - 24-02-2007

The one I'm using already has the stuff I asked for really I had mine before this came out lol...