The Dink Network

Reply to Re: Dev Thread: Dink3D (Unity Project)

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
January 28th 2020, 03:21 PM
boncag.gif
JugglingDink
Peasant He/Him United Kingdom
Streetfish 
Cheers SlipDink, I'll take a look. Sent you a message Bluedy

It's definitely not going to be as simple as DinkC and WinDinkEdit were, although with a little determination I'm sure those who are interested will be able to make use of it. As a little example, the choice menus I've got at the moment currently work surface-level like this.

        dinkBrain.Freeze();
        selfBrain.Freeze();
        string[] choices = new string[6];
        choices[0] = "Ask about pig feeding";
        choices[1] = "Ask about your father";
        choices[2] = "Get info about the village";
        choices[3] = "Get angry for no reason";
        if(GLOBAL.Game.pigStory == 2) choices[4] = "Tell her you fed the pigs";
        choices[5] = "Leave";
        dink.Choice = -1;

        while (dink.Choice != 5)
        {
            yield return StartCoroutine(dink.ChoiceMenu("What do you want to say?", choices));
            if (dink.Choice == 0)
            {
                //Ask about pig feeding
            }
            //All choices except Leave go inside the while loop
        }

        dinkBrain.Unfreeze();
        selfBrain.Unfreeze();