Jump to content

Recommended Posts

Posted

I just tried adding spells to some customized npcs in the database however nothing happends in-game and since c++ isnt my strongest codeing language im kind of stuck here any ideas? if so thanks

Posted

if you want to use spells of the creature_template, you will have to add ScriptName='generic_creature' for this mob.

This ScriptName however requires SD2 installed.

Another, and way better approach to get mobs spelling is to use EventAI:

http://udbwiki.webhop.net/index.php/Event_AI

(remember to set AIName='EventAI' for the mob)

another documentation can be found in the /doc dir of mangos-tree

Examples can be found in latest ACID release file, and in the acid forum, found at scriptdev2.com (scroll down)

Posted
if you want to use spells of the creature_template, you will have to add ScriptName='generic_creature' for this mob.

This ScriptName however requires SD2 installed.

Another, and way better approach to get mobs spelling is to use EventAI:

http://udbwiki.webhop.net/index.php/Event_AI

(remember to set AIName='EventAI' for the mob)

another documentation can be found in the /doc dir of mangos-tree

Examples can be found in latest ACID release file, and in the acid forum, found at scriptdev2.com (scroll down)

K thanks im gonna try it again and i have sd2 compiled with the core so ill reply with the good/bad news :)

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use