L
Lgmsfan
Guest
hi all just wanting some help with random background color at start of a room heres what i was trying with little luck
//in create event of object in room
global.cola=make_colour_rgb(100,145,125);
global.colb=make_colour_rgb(100,125,225);
global.colc=make_colour_rgb(200,115,115);
global.cold=make_colour_rgb(150,105,105);
//
randomize();
choose(scr_bgc3(),scr_bgc1(),scr_bgc2());//choose a background color from scripts
//in external scripts
//in scr_bgc1//
background_colour=global.cola;
background_showcolour=true;
//in scr_bgc2//
background_colour=global.colb;
background_showcolour=true;
and in scr_bgc3//
background_colour=global.colc;
background_showcolour=true;
//the problem im having is that it always only calls the first scripts color and never any other any help would be great Thanks GMC.
//in create event of object in room
global.cola=make_colour_rgb(100,145,125);
global.colb=make_colour_rgb(100,125,225);
global.colc=make_colour_rgb(200,115,115);
global.cold=make_colour_rgb(150,105,105);
//
randomize();
choose(scr_bgc3(),scr_bgc1(),scr_bgc2());//choose a background color from scripts
//in external scripts
//in scr_bgc1//
background_colour=global.cola;
background_showcolour=true;
//in scr_bgc2//
background_colour=global.colb;
background_showcolour=true;
and in scr_bgc3//
background_colour=global.colc;
background_showcolour=true;
//the problem im having is that it always only calls the first scripts color and never any other any help would be great Thanks GMC.