Posted June 14, 2021 Anyone know how to script SAI for https://www.wowhead.com/quest=13961/drag-it-out-of-them .I menage to change npc faction,set up gossip_menu_option,SAI for "on click gossip spawn " but after i spawn him and thats where i am stuck.If someone could help i would appreciate that.Thanks Share this post Link to post Share on other sites
Posted June 14, 2021 found only this on quick search, it's that what you're looking for? DELETE FROM `smart_scripts` WHERE `entryorguid`='34503'; 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('34503','0','0','0','2','0','100','1','0','15','2000','2000','25','1','0','0','0','0','0','1','0','0','0','0','0','0','0','Razormane Pillager - Between 0-15% Health - Flee For Assist (No Repeat)'); 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('34503','0','1','0','2','0','100','1','0','15','2000','2000','1','0','0','0','0','0','0','1','0','0','0','0','0','0','0','Say Text at 15% HP'); 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('34503','0','10','11','8','0','100','0','65580','0','3000','3000','2','1619','0','0','0','0','0','1','0','0','0','0','0','0','0','Tirer les vers du nez 13961 : faction'); 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('34503','0','11','12','61','0','100','0','0','0','0','0','18','402178','0','0','0','0','0','1','0','0','0','0','0','0','0','Tirer les vers du nez 13961 : passif etc'); 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('34503','0','12','0','61','0','100','0','0','0','0','0','29','1','0','0','0','0','0','2','0','0','0','0','0','0','0','Tirer les vers du nez 13961 : suivre joueur'); 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('34503','0','13','14','75','0','100','0','0','34513','10','3000','33','34513','0','0','0','0','0','17','0','10','0','0','0','0','0','Tirer les vers du nez 13961 : credit'); 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('34503','0','14','0','61','0','100','0','0','0','0','0','51','0','0','0','0','0','0','1','0','0','0','0','0','0','0','Tirer les vers du nez 13961 : despawn'); Share this post Link to post Share on other sites
Posted June 14, 2021 (edited) hmmm.not sure that is good.will give it a try.npc(34503) should spawn another npc(34514) that should follow you? PS.could you check if there is any SAI for 34514? Edited June 14, 2021 by jela Share this post Link to post Share on other sites
Posted July 1, 2021 Probably something to do with areatrigger id 5465, which is right there. all these spells might come in handy too (if you haven't checked them out yet) https://mop-shoot.tauri.hu/?search=razormane#spells Share this post Link to post Share on other sites