Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Display NPC Names
#26
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.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#27
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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)