how do i script this .c file?
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!!!!!!!
im really really really new at this!!!!!!!
August 11th 2002, 09:02 AM
Ric
: 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.
: 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.