The Dink Network

Reply to Help

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:
 
 
December 4th 2005, 05:27 AM
fairy.gif
Glennglenn
Peasant He/Him Norway
GlennGlenn doesn't want a custom title. 
I am currently working on Victim Of Life to get it to work, but I have a problem with a script.

void main( void )
{
int &karl = create_sprite(290, 230, 16, 381, 1);
sp_speed(&karl, 2);
sp_base_walk(&karl, 380);
preload_seq(381);
preload_seq(383);
preload_seq(385);
preload_seq(387);
preload_seq(389);


void talk(void)
{
freeze(&karl);
freeze(1);
choice_start()
"have you seen a guy named David"
"who are you"
"nevermind"
choice_end()
unfreeze(1);
unfreeze(&karl);


if (&result == 1)
{
freeze(1);
freeze(&karl);
say_stop("have you seen a guy named David", 1);
say_stop("`0maybe. I saw a guy with blue clothes for some minuttes ago", &karl);
say_stop("Ok?", 1);
say_stop("`0I saw him with a famer ", &karl);
say_stop("where did he go", 1);
say_stop("`0I don`t know", &karl);
say_stop("Ok thanks", 1);
unfreeze(1);
unfreeze(&karl);
}


if (&result == 2)
{
freeze(1);
freeze(&karl);
say_stop("Hi what is your name?", 1);
say_stop("`0My name is Carl", &karl);
unfreeze(1);
unfreeze(&karl);
}
}
}

The sprite gets created, but it wont talk.