-- Actionlist SAI
SET @ENTRY := 3664200;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,1,1000,1000,0,0,43,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Myralion Sunblaze - On Script - Dismount (No Repeat)"),
(@ENTRY,9,1,0,0,0,100,1,1000,1000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Myralion Sunblaze - On Script - Say Line 1 (No Repeat)"),
(@ENTRY,9,2,0,0,0,100,1,0,0,0,0,12,37846,6,60000,0,0,0,8,0,0,0,8102.33,785.112,481.025,5.99244,"Myralion Sunblaze - On Script - Summon Creature 'Blood-Queen Lana'thel' (No Repeat)"),
(@ENTRY,9,3,0,0,0,100,1,8000,8000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Myralion Sunblaze - On Script - Say Line 2 (No Repeat)");
-- Caladis Brightspear SAI
SET @ENTRY := 36624;
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,20,0,100,0,24454,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Caladis Brightspear - On Quest 'Return To Caladis Brightspear' Finished - Remove Npc Flag Questgiver"),
(@ENTRY,0,1,0,61,0,100,0,24454,0,0,0,53,0,36624,0,0,0,0,1,0,0,0,0,0,0,0,"Caladis Brightspear - On Quest 'Return To Caladis Brightspear' Finished - Start Waypoint"),
(@ENTRY,0,2,3,40,0,100,0,1,0,0,0,54,10000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Caladis Brightspear - On Waypoint 1 Reached - Pause Waypoint"),
(@ENTRY,0,3,0,61,0,100,0,1,0,0,0,80,3664200,0,0,0,0,0,1,0,0,0,0,0,0,0,"Caladis Brightspear - On Waypoint 1 Reached - Run Script"),
(@ENTRY,0,4,0,38,0,100,0,50,0,0,0,43,0,28888,0,0,0,0,1,0,0,0,0,0,0,0,"Caladis Brightspear - On Data Set 50 0 - Mount To Model 28888"),
(@ENTRY,0,5,6,40,0,100,0,2,0,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Caladis Brightspear - On Waypoint 2 Reached - Say Line 3"),
(@ENTRY,0,6,7,61,0,100,0,2,0,0,0,66,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Caladis Brightspear - On Waypoint 2 Reached - Set Orientation Home Position"),
(@ENTRY,0,7,0,61,0,100,0,2,0,0,0,81,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Caladis Brightspear - On Waypoint 2 Reached - Set Npc Flag Questgiver");
mehr korrektur gibts da erstmal net. wer bock drauf hat - > http://collab.kpsn.org/display/tc/smart_scripts lesen und selber fixen