Reply to Re: Chase scene help for upcoming DMOD
If you don't have an account, just leave the password field blank.
Aight I did it. Lep pretty much did it.
posted for anyone who might need this in the future
void main(void) { sp_nodraw(¤t_sprite, 1); int &monster = create_sprite(5000,5000,0,170,1); //Create sprite offscreen sp_touch_damage(&monster, 2); //Set damage int &temp_x = sp_x(1,-1); int &temp_y = sp_y(1,-1); //Step two: Run a loop that gets dink's coords and then waits (2000) (2 seconds(or however long you want)) FetchCoordLoop: wait(200); //increase later //set coords sp_x(&monster, &temp_x); sp_y(&monster, &temp_y); wait(1); //get coords &temp_x = sp_x(1,-1); &temp_y = sp_y(1,-1); goto FetchCoordLoop; }
posted for anyone who might need this in the future