Reply to Re: How do you do plots im so confused please reply
If you don't have an account, just leave the password field blank.
Here we go. Plots are totally simple. First open your script main.c scroll down and find //add your own global... then type something like
make_global_int("&lala", 0);
You cahnge lala to the name of the global variable. Then in any script at all. Do void talk or whatever. And type something like this.
void talk(void)
{
freeze(1);
freeze(¤t_sprite);
if (&lala == 0)
{
say_stop("Hi dude", 1);
say_stop("`3Hi Dink", ¤t_sprite);
say_stop("`3Go sing and dance", ¤t_sprite);
say_stop("Ok", 1);
int &count;
loop:
if (&count < 5)
{
move_stop(1, 6, 200, 1);
move_stop(1, 8, 200, 1);
move_stop(1, 4, 100, 1);
move_stop(1, 2, 100, 1);
&count += 1;
goto loop;
}
if (&count > 5)
{
unfreeze(1);
&lala = 1;
}
if (&lala == 1)
{
freeze(1);
freeze(¤t_sprite);
say_stop("`3Nice moves Dink!", ¤t_sprite);
say_stop("TAHNKS DUDE!", 1);
unfreeze(1);
unfreeze(¤t_sprite);
}
I don't know, but I think I had a few errors in that thing. But I can't be bothered changing them. You could just look in teqhniuqes, plot in the DinkC.chm file. I think that's how you spell teqhniuqes? I hope this helps!
make_global_int("&lala", 0);
You cahnge lala to the name of the global variable. Then in any script at all. Do void talk or whatever. And type something like this.
void talk(void)
{
freeze(1);
freeze(¤t_sprite);
if (&lala == 0)
{
say_stop("Hi dude", 1);
say_stop("`3Hi Dink", ¤t_sprite);
say_stop("`3Go sing and dance", ¤t_sprite);
say_stop("Ok", 1);
int &count;
loop:
if (&count < 5)
{
move_stop(1, 6, 200, 1);
move_stop(1, 8, 200, 1);
move_stop(1, 4, 100, 1);
move_stop(1, 2, 100, 1);
&count += 1;
goto loop;
}
if (&count > 5)
{
unfreeze(1);
&lala = 1;
}
if (&lala == 1)
{
freeze(1);
freeze(¤t_sprite);
say_stop("`3Nice moves Dink!", ¤t_sprite);
say_stop("TAHNKS DUDE!", 1);
unfreeze(1);
unfreeze(¤t_sprite);
}
I don't know, but I think I had a few errors in that thing. But I can't be bothered changing them. You could just look in teqhniuqes, plot in the DinkC.chm file. I think that's how you spell teqhniuqes? I hope this helps!