The Dink Network

Reply to Re: Does this work?

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:
 
 
April 30th 2006, 06:14 PM
custom_marpro.png
Marpro
Peasant He/Him bloop
 
Wait a second...

choice_start()
"Say hello"
(&story == 1) "Say blabla"
choice_end()
wait(250);

if (&result == 1)
{
// the say hello part
}

if (&result == 2)
{
// the say blabla part
// you can place the yes/no choice here
choice_start()
"Yes"
"No"
choice_end()
wait(250);

if (&result == 1)
{
// the yes part
}
if (&result == 2)
{
// the no part
}
}

How do the game now which one who is the first "if (&result == 1)"? It occure at two places
I marked it with if you're not understand what i mean