Mirage Source
Display NPC Names - 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: Source Code Development (https://mirage-engine.uk/forums/forumdisplay.php?fid=51)
+----- Forum: Mirage Source 4 (Visual Basic 6) (https://mirage-engine.uk/forums/forumdisplay.php?fid=44)
+------ Forum: Tutorials (https://mirage-engine.uk/forums/forumdisplay.php?fid=13)
+------ Thread: Display NPC Names (/showthread.php?tid=2098)

Pages: 1 2


Re: Display NPC Names - Robin - 02-10-2009

Rian Wrote:I think NPC behavior are strictly strings. like FRIENDLY or ATTACKONSIGHT or whatever. Been a while since I opened a source.

No they're not.

NPC_BEHAVIOUR_FRIENDLY as byte = 0

etc. etc.


Re: Display NPC Names - Anthony - 02-10-2009

Probably wherever you're making a call to that bit of code the client doesn't know whether or not the NPC has a behavioral value set. You might have to send it over from the server at some point and save it.