The Dink Network

Reply to Re: how do i script this .c file?

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:
 
 
August 11th 2002, 09:02 AM
anon.gif
Ric
Ghost They/Them
 
: how would i script a .c file to make a sprite (not dink) to walk off screen and never come back?

: im really really really new at this!!!!!!!

in the script , use this:

freeze(&current_sprite);

move(&current_sprite,6,700,1);

current_sprite is automaticly the sprite the script is attached to, 6 is to the right(as per number keypad ), the screen is 400 * 600 so 700 is off to the right, and 1 means he ignores hardess. Freeze means he'll stay there.

If that is in main, it will happen right away, so choose where in the script you want it to happen.