Kitanna Posted October 29, 2007 Share Posted October 29, 2007 I'm having trouble getting 2 interjections to fire at the right time. 1 in the tanners workshop and the other upon entering the underdark. If someone could help me out, I'd very much apprecitate it. Link to comment
jastey Posted October 29, 2007 Share Posted October 29, 2007 Do you mean a "scenery talk"? The party enters the area, and a dialogue should fire? The tanner's shop, Anomen's dialogue upon entering is triggered by this script block: IF InParty(Myself) Global("TannerWarning","AR0502",0) AreaCheck("AR0502") //tanner's house THEN RESPONSE #100 SetGlobal("TannerWarning","AR0502",1) StartDialogueNoSet(Player1) END And after finding the dead body of the watchmen (Anomen is only supposed to talk if Keldorn doesn't): IF InParty(Myself) See(Player1) !StateCheck(Player1,STATE_SLEEPING) OR(3) !InParty("Keldorn") Dead("Keldorn") // Feuerschild StateCheck("Keldorn",STATE_SLEEPING) Global("FoundAegis","GLOBAL",0) Global("FoundAegis2","LOCALS",0) Delay(10) PartyHasItem("misc5m") // dead body of watchmen Aegis THEN RESPONSE #100 SetGlobal("FoundAegis2","LOCALS",1) StartDialogueNoSet(Player1) END Entering the underdark, Area would be "AreaCheck("AR2100")". Do you have code you want to post? Link to comment
Kitanna Posted October 29, 2007 Author Share Posted October 29, 2007 Do you mean a "scenery talk"? The party enters the area, and a dialogue should fire? The tanner's shop, Anomen's dialogue upon entering is triggered by this script block: IF InParty(Myself) Global("TannerWarning","AR0502",0) AreaCheck("AR0502") //tanner's house THEN RESPONSE #100 SetGlobal("TannerWarning","AR0502",1) StartDialogueNoSet(Player1) END And after finding the dead body of the watchmen (Anomen is only supposed to talk if Keldorn doesn't): IF InParty(Myself) See(Player1) !StateCheck(Player1,STATE_SLEEPING) OR(3) !InParty("Keldorn") Dead("Keldorn") // Feuerschild StateCheck("Keldorn",STATE_SLEEPING) Global("FoundAegis","GLOBAL",0) Global("FoundAegis2","LOCALS",0) Delay(10) PartyHasItem("misc5m") // dead body of watchmen Aegis THEN RESPONSE #100 SetGlobal("FoundAegis2","LOCALS",1) StartDialogueNoSet(Player1) END Entering the underdark, Area would be "AreaCheck("AR2100")". Do you have code you want to post? That's exactly what I meant, sorry I worded it so badly. I see what I did wrong with the underdark one now that I see how the tanner one is done. Thanks a million Jastey Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.