The Dink Network

Reply to Re: He won't unfreeze!

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:
 
 
May 11th 2008, 12:34 PM
slayer.gif
rabidwolf9
Peasant He/Him United States
twitch.tv/rabidwolf9 
The brackets after have nothing to do with what's inside that if statement. My guess is that something is causing that if statement not to be valid. You'd have to post the whole script in order for someone to help you find out why.

Just something to consider.. Choice statements generally work like this. Notice that "leave" doesn't have it's own if statement because at the end of it all you almost always want to unfreeze.

void talk ()
{
freeze(1);
choice_start();
"choice1"
"choice2"
"Leave"
choice_end();

if (&result == 1)
{
//do first thing
}

if (&result == 2)
{
//do second thing
}

unfreeze(1);
}