Inky problem

Discussion in 'Ink NPC Dialogue Composition' started by ConjurerDragon, Jun 2, 2023.

  1. ConjurerDragon

    ConjurerDragon Avatar

    Messages:
    1,698
    Likes Received:
    1,021
    Trophy Points:
    125
    Gender:
    Male
    Location:
    Rhineland-Palatinate
    I tried to use the script from this post
    https://www.shroudoftheavatar.com/f...r-the-new-external-calls.170488/#post-1336905

    but when trying to load it into a conversationalist (I used the female elven archer) it already fails loading with an error about line 5.
    As the original thread of @Owsley has already been locked I could not ask there, so I made a new thread.

    Any idea what is wrong with the script?
     
  2. ConjurerDragon

    ConjurerDragon Avatar

    Messages:
    1,698
    Likes Received:
    1,021
    Trophy Points:
    125
    Gender:
    Male
    Location:
    Rhineland-Palatinate
    Is the script perhaps longer and what Owsley called a "snippet" only a part of more script so that the error pointing to line 5 means the script lacks the definition of the main menu it tries to go to?
     
  3. Scanphor

    Scanphor Avatar

    Messages:
    557
    Likes Received:
    988
    Trophy Points:
    63
    Yes that was demonstrating a way to do something I think not intended as a stand alone script.

    The command "->" is telling ink to jump to the named location _MainMenu which isn't defined in that code snippet.
     
    Anpu likes this.