Hello, i want to know how to make a conversation on an npc, for example:
Player says hi
Npc says Hey, what are you doing in my castle?
player says castle
Npc says Yes, this is my castle
And so on..
Here's an npc code, what do i need to add?
Please note that im not asking that you finish the code, i want to know what do i need to use!
Player says hi
Npc says Hey, what are you doing in my castle?
player says castle
Npc says Yes, this is my castle
And so on..
Here's an npc code, what do i need to add?
PHP:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Carlos" walkinterval="2000" floorchange="0">
<health now="100" max="100"/>
<look type="134" head="78" body="88" legs="0" feet="88" addons="3"/>
<parameters>
<parameter key="message_greet" value="Hey, what are you doing in my castle?"/>
</parameters>
</npc>
Please note that im not asking that you finish the code, i want to know what do i need to use!