I didn't want to have to alter any of the scripts but it seems I am going to have to now because the section of Zevran's dialogue that I am editing utilizes several defined flags. I only have a little experience with scripting so far and since I need to alter a script rather than writing a new one I'm worried about seriously messing something up so I'm looking for help.
There is a branch of selected dialogue in Zevran's tree that looks like this:
You wish to talk? Ah, good. I have a question for you.
The plot is genpt_zevran_defined and the flag that triggers this conversation is ZEVRAN_DEFINED_ADORE_AND_NOT_TALKED_ABOUT_ADORE (defined) which means if Zevran is at adore and hasn't talked about it OR if other followers are at adore.
If any of the followers are at adore this will trigger a conversation about them, eventually forcing you to choose between Zevran and your other lover. After you have gone though any possible conversations of this type it will trigger a conversation about Antivan poetry and the flag ZEVRAN_MAIN_TALKED_ABOUT_ADORE will be set.
After talking about another lover with Zevran either Zevran or that other lover will no longer be at adore. If Zevran is still at adore he will talk to the pc about poetry and then the line "You wish to talk...?" will never come up again. So here's my problem- The additions to the conversations I have made make it possible to have both Zevran and the other love interests at adore at the end of the conversation. If you choose the options that allow that to happen, he will then talk about poetry and the next time you talk to him the "You wish to talk..." line comes up and then the conversation ends since there are followers still at adore but you've already talked to him about them. This makes any future conversation with Zevran impossible.
The script that defines this is as follows:
case ZEVRAN_DEFINED_ADORE_AND_NOT_TALKED_ABOUT_ADORE:
{
int nAdore = WR_GetPlotFlag(PLT_GENPT_APP_ZEVRAN, APP_ZEVRAN_IS_ADORE, TRUE);
int nAlistairAdore = WR_GetPlotFlag(PLT_GENPT_APP_ALISTAIR, APP_ALISTAIR_IS_ADORE, TRUE);
int nLelianaAdore = WR_GetPlotFlag(PLT_GENPT_APP_LELIANA, APP_LELIANA_IS_ADORE, TRUE);
int nMorriganAdore = WR_GetPlotFlag(PLT_GENPT_APP_MORRIGAN, APP_MORRIGAN_IS_ADORE, TRUE);
int nTalked = WR_GetPlotFlag(PLT_GENPT_ZEVRAN_MAIN, ZEVRAN_MAIN_TALKED_ABOUT_ADORE);
if(nAdore == TRUE)
{
if((nAlistairAdore == TRUE) || (nLelianaAdore == TRUE) || (nMorriganAdore == TRUE) || (nTalked == FALSE))
{
nResult = TRUE;
}
}
break;
Does anyone have an idea how to stop the "You wish to talk..." line from being triggered even if followers are still at adore?
Thanks in advance for any help and also just for reading my very lengthly issue.





Retour en haut






