Jump to content

Problem to make SmartAI working


Recommended Posts



I tried this script to make the quest Saving the young working, but It doesn't work, baby raptor doesn't follow the player :


-- Lost Bloodtalon Hatchling SAI

SET @ENTRY := 39157;

UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;

DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0;

INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES

(@ENTRY,0,0,1,8,0,100,0,70874,0,1000,2000,41,60000,0,0,0,0,0,1,0,0,0,0,0,0,0,"On spellhit, Set despawn timer to 1 min (for reset)"),

(@ENTRY,0,1,2,61,0,100,0,0,0,0,0,29,2,0,0,0,0,0,7,0,0,0,0,0,0,0,"Start - Follow Player"),

(@ENTRY,0,2,0,61,0,100,0,0,0,0,0,33,39157,0,0,0,0,0,7,0,0,0,0,0,0,0,"On spellhit - Quest Credit 1");


I was not sure about the spell 70874 (can't find it anywhere in DB) also I tried to make a creature with gossip menu in order to teleport the player somewhere, it doesn't work anymore, nothing append when click on menus.


Perhaps I forgot something but can't solve my problem.


I'm using Skyfire 548 with SFDB_full_548.8_2014_09_22 and updates made by AriDev.


If anyone got it working.. 


thanks :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.