The Dink Network

Reply to Re: spin

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:
 
 
November 12th 2007, 11:26 PM
wizardb.gif
Guess what, I found the code to make dink spin
so I will post it so all can know.

I just remembered where I had it.
kind of awkward I know, but
at least now everyone can know how
to make dink spin and not get
stumped.

here it is, the script is called spindink.c

//Spinning Dink

void main ( void )
{
int &rwait = 40;
loopy:
sp_dir(1, 2);
wait(&rwait);
sp_dir(1, 4);
wait(&rwait);
sp_dir(1, 8);
wait(&rwait);
sp_dir(1, 6);
wait(&rwait);
if (&player_map == 698)
goto loopy;
kill_this_task();
}

don't worry about the &player_map.
you just use what ever screen you
need.
This set of code is for warping
while making dink spin.
so hope you enjoy.