#define draw_healthring /* draw_healthring(x,y,hrad,rad,mincol,maxcol,value,maxvalue); x - The x drawing position y - The y drawing position hrad - The radius of the 'hole' in the center (set to 0 to have no hole) rad - The radius of the circle mincol - Minimum color maxcol - Maximum color value - The value to act upon maxvalue - The maximum value Draws a circular healthring depending on the given arguments This only works with registered / pro Game Maker Made by tophunter7, give credit if used */ draw_primitive_begin(pr_linelist); for(i=0;i<(argument6/argument7)*360;i+=1) { draw_vertex_color(argument0+lengthdir_x(argument2,i),argument1+lengthdir_y(argument2,i),merge_color(argument4,argument5,argument6/argument7),1); draw_vertex_color(argument0+lengthdir_x(argument3,i),argument1+lengthdir_y(argument3,i),merge_color(argument4,argument5,argument6/argument7),1); } draw_primitive_end();