Rayeko
Programmer
- Joined
- Apr 9, 2008
- Messages
- 185
- Reaction score
- 3
Hi
I just wanted to know if it was possible to make NPCs vulnerable, so they can be killed by players. I made it possible to attack NPCs, but nothing inflicts them damage.. Just a poff. Here is my NPC script:
Thanks in advance!
I just wanted to know if it was possible to make NPCs vulnerable, so they can be killed by players. I made it possible to attack NPCs, but nothing inflicts them damage.. Just a poff. Here is my NPC script:
Code:
<?xml version="1.0"?>
<npc name="Eryn" script="data/npc/scripts/default.lua" access="0" attackable="1" walkinterval="7000" lookdir="2">
<health now="1000" max="1000"/>
<look type="335" head="0" body="57" legs="114" feet="0" addons="3"/>
<parameters>
<parameter key="message_greet" value="Welcome here, |PLAYERNAME|." />
</parameters>
</npc>
Thanks in advance!