Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   AI (https://postpacific.loc-online.com/showthread.php?t=8190)

Akanjell 02.08.2007 02:42

AI
 
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...


All times are GMT. The time now is 14:58.