-
Novice
[HELP] simple code for npc!
HI there~!
well im kinda new one in codeing and stuff!
can someone give me a code for simple npc?
im useing hadeset source... i need easy code like npc say: "Hi" just for example to code my own npcs =\ and in witch file to code them =S
-
-
Account Upgraded | Title Enabled!
Re: [HELP] simple code for npc!
-
Account Upgraded | Title Enabled!
Re: [HELP] simple code for npc!
depends on the npc structures =)
-
Account Upgraded | Title Enabled!
Re: [HELP] simple code for npc!

Originally Posted by
Korvacs
NpcSays("Hi");
:)
Lol. Would you mind explaining what NpcSays exaclty does? :P
(Prolly not)
-
Novice
Re: [HELP] simple code for npc!
-
Account Upgraded | Title Enabled!
Re: [HELP] simple code for npc!
That was just an example of what an npc structure for saying Hi could look like, ive not written mine but it wont look anything like that i can assure you....
But in that example i suppose would be more or less like the coemu version where by NpcSays would send an npctalk packet informing the client of the npc saying that as its message you could then incorporate
NpcOption("Hello",1);
NpcFinsh(1);
NpcOption contains the string for the option and the type of option it is, and NpcFinsh contains the value of the npcs avatar and would finsh the dialog
Making Npcs say stuff is pretty simple, having them perform actions is where it gets interesting