smart ai talk problem

i try to let 2 npc talk in a conversation…

npc 1 is saying 2 text

and npc 2 is answer…

no Event answer

npc1 is have no reaction on ovn text_over

and npc2 have no reaction on text_over on npc1

how must i do it???

core error??


Please provide your code. So that we might see what you are doing.

in this try, its only say 1 text and the text 2 is not showing…

– Risen Recruit
SET @ENTRY := 50414;

DELETE FROM smart_scripts WHERE entryorguid=@ENTRY AND source_type=@SOURCETYPE;
UPDATE creature_template SET AIName=“SmartAI” WHERE entry=@ENTRY LIMIT 1;
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,@SOURCETYPE,0,0,1,0,100,0,3000,10000,60000,60000,1,0,4000,0,0,0,0,1,0,0,0,0.0,0.0,0.0,0.0,“start show and begin talk 1”),
(@ENTRY,@SOURCETYPE,1,0,52,0,100,0,1,1568,0,0,1,1,4000,0,0,0,0,1,0,0,0,0.0,0.0,0.0,0.0,“talk nr 2”);

DELETE FROM creature_text WHERE entry=50414;
INSERT INTO creature_text (entry,groupid,id,text,type,language,probability,emote,duration,sound,comment) VALUES (50414,0,0,‘Hello… Mordo… Please Help…’,12,0,100,0,0,0,‘Talk with Undertaker Mordo’);
INSERT INTO creature_text (entry,groupid,id,text,type,language,probability,emote,duration,sound,comment) VALUES (50414,1,0,‘Please Help…’,12,0,100,0,0,0,‘Talk with Undertaker Mordo’);

I think you are missing a link. Not sure.

mhh… the target is:

npc 1 is new spawned and talk 1 text

then npc 2 is talk 2 text’s

and npc1 is saying thanks und go away…

no links interacts 2 npc… i must do it with events…