• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] Custom boss messed up between scripts :)

Status
Not open for further replies.

teroare

Enthusiast
Hi guys,

I'll be simple and clear :D

I have a custom boss which doesn't have a C++ script, it has some spells and text added in smart_scripts, and it works just fine.

The problem is, I have added a C++ script to my server, which announces that a specific boss has been killed, and awards the players with a specific buff.

After I have updated the boss ( which untill now had nothing inside World DB - creature_template - ScriptName table filled ) with the name of the script ( updated in ScriptName with boss_kill_script ) , the boss is a veggie, he does nothing...


What I want to know, is there any way I can have him do both ? Have the spells/text from smart_scripts table and also be connected to the C++ script ?


Thanks in advance!
 

Rochet2

Moderator / Eluna Dev
You could either use player hooks (playerscript) for the boss announce script
Or you can for example port the SAI script to C++ as well.
 
Status
Not open for further replies.
Top