Reply to Re: Scripting help please?
If you don't have an account, just leave the password field blank.
Have you looked through tutorials and the DinkC reference? You'd be surprised at how much you can learn from those. Anywhoo.. For this we will first need to get Dink's coordinates stored in variables (&dink_x, &dink_y) then we will create the acid rain using a create_sprite() command. You may need to tweak the coordinates by adding or subtracting to the variables.
//freeze dink first so theres no escape
freeze(1);
//getting dink's coordinates
int &dink_x = sp_x(1, -1);
int &dink_y = sp_y(1, -1);
//now we will create the sprite and give its damage
int &rain = create_sprite(&dink_x, &dink_y, 6, 94, 1);
sp_seq(&rain,94);
sp_touch_damage(&rain, 5);
//freeze dink first so theres no escape
freeze(1);
//getting dink's coordinates
int &dink_x = sp_x(1, -1);
int &dink_y = sp_y(1, -1);
//now we will create the sprite and give its damage
int &rain = create_sprite(&dink_x, &dink_y, 6, 94, 1);
sp_seq(&rain,94);
sp_touch_damage(&rain, 5);








