Aller au contenu

Photo

Need some help doing conditional conversation scripting.


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
Haleseen

Haleseen
  • Members
  • 7 messages
I need some code to hide lines within the coversation.
Here is what i got
  void main()
{
int conditionalA;
conditionalA = 1;
}



void main()
{
if (conditionalA == 1)
{
/* Hides line in conversation */
...?
}
}

I don't know the actual code segement so can someone help me?

#2
BrotherJason

BrotherJason
  • Members
  • 99 messages
Why do you want to handle this in a script? You can define when dialogue options appear in the conversation editor under "Plots and Scripting" -> conditions. Just select a plot and a flag and you're good to go.