The Dink Network

Reply to Re: Bookshelf

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:
 
 
October 29th 2012, 12:12 PM
knightgl.gif
Castman
Peasant He/Him Brazil
Some day I'll finish my mod... Some day... 
Hyo,

There are 2 problems with the script, what makes may be confusing when trying to figure what is wrong with it ^^

First:

if(result== 4)
{
unfreeze(1);
}


You add unfreeze(1); inside the variable 'if (&result == 4)' that way, Dink will go unfreeze ONLY if player chooses option 4 (Leave) anything else will keep Dink frozen.

Try this:

if(&result== 3)
{
say_stop("`%few lines containing product of my boredom", ¤t_sprite);
}

unfreeze(1);

}


Unfreeze is outside the choice thing, so whatever the player picks, at the end Dink will unfreeze.

Second then, the choice command, choice start(); and choice end(); need an " _ ":
 choice_start();
choice_end();
]

The wrong syntax made choice not to come up, and due to the misplaced "unfreeze(1);" Dink kept frozen

EDIT: I did post the same time as Scratcher xD But we said the same thing, except that
if(result== 1) (with space) works anyway.
I didn't knew that would work anyway. *surprised* O.O"