PDA

View Full Version : AI


Akanjell
02.08.2007, 02:42
Hi, I need a little help to add my custom npcs. All npcdata info ok but I want to add skills for the new npcs.... I dont know how to add, I did this:

class 1 event_npc1: warrior
parameter_define_begin
int DDMagic 1048839
parameter_define_end
class_end

and I add the info in npcdata but server says error and cant load npc.
Anyone can write for me a little IA example to add skills for mobs?

McBigMac
02.08.2007, 18:34
there are premade master/father classes for adding skills all defineable by npcdata.

check monsters and their father class names, and their ai setup in npcdata.

And saying "I want npc use skill"

could be many things...