The Dink Network

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.
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:
 
 
March 25th 2007, 12:15 AM
sob_scorpy.gif
DinkDude95
Peasant He/Him Australia
The guy with the cute D-Mod. 
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(&current_sprite);
if (&lala == 0)
{
say_stop("Hi dude", 1);
say_stop("`3Hi Dink", &current_sprite);
say_stop("`3Go sing and dance", &current_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(&current_sprite);
say_stop("`3Nice moves Dink!", &current_sprite);
say_stop("TAHNKS DUDE!", 1);
unfreeze(1);
unfreeze(&current_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!