The Dink Network

Reply to Re: problems with move() and wait()

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 1st 2010, 05:19 PM
custom_iplaydink.gif
iplaydink
Peasant He/Him Sweden
Hmm.. 
Scratcher is right I just noticed that too and tried this script, runs like a charm..
	int &dinkx;
	int &dinkx2;
	freeze(1);
	move(1, 4, 0, 0);
	
	loop:
	&dinkx = sp_x(1, -1);
	wait(100);
	&dinkx2 = sp_x(1, -1);
	
	if(&dinkx != &dinkx2)
	{
		goto loop;
	}
	
	&dinkxy2 += 5;
	move(1, 6, &dinkx2, 0);
	sp_dir(1, 4);
	unfreeze(1);


But you probably have the vars declared somewhere else so comment them out.

EDIT: Would you mind if I borrowed parts of this script for a puzzle in Agatha, I just got an awesome idea...