The Dink Network

Reply to Re: The Official Dinker Question Thread

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:
 
 
October 20th 2006, 10:46 AM
slayer.gif
rabidwolf9
Peasant He/Him United States
twitch.tv/rabidwolf9 
Check your brackets, you closed the main procedure before you wanted to do so. You seem to have closed main, but opened another set of brackets. Also a problem in your talk procedure, you should use say_stop instead of say and there is an extra bracket there as well.

Add:
Perhaps this is what you wanted? I've fixed the mistakes I mentioned as well as an instance where you forgot a ';' after a wait command. If it still doesn't work, make sure the script name isn't terribly long and is attatched to your sprite. It should indeed work.

void main(void)
{

// Take whatever sequence you had and round it down
//by 10. 351 = 350, 383 = 380.
sp_base_walk(&current_sprite, 280);

// Give it a speed so it actually moves around.
sp_speed(&current_sprite, 1);

// Use the smart person brain so the character walks
//around intelligently.
sp_brain(&current_sprite, 16);

say_stop("`4ATTENTION!", &current_sprite);
say_stop("`4The Baron Smallwood approaches!!",&currentt_sprite);
wait(200);
say("Good morrow, good citizens!", 1);

}

void talk(void)
{

say_stop("Good day, Sir knight!", 1);
wait(1000);
say_stop("`4Good day, sire!", &current_sprite);
say_stop("`4I'm just keeping an eye on these nobles.", &current_sprite);
say("`4Can never be too careful. <SALUTE>", &current_sprite);

}

void hit(void)
{

say_stop("`4Sorry my lord, I didn't", &current_sprite);
say_stop("`4feel that through my armour.", &current_sprite);

}