Script-
//fireworks(x,y,size,color,alpha,depth,life,speed,gravity,grav dir,direction,number)
part_system_depth(fw_ps,argument5)
part_type_speed(fw_part,argument7,argument7,0,0)
part_type_shape(fw_part,pt_shape_disk)
part_type_direction(fw_part,argument10,argument10,0,0)
part_type_life(fw_part,argument6,argument6)
part_type_size(fw_part,argument2,argument2,0,0)
part_type_scale(fw_part,.075,.075)
part_type_color1(fw_part,argument3)
part_type_alpha1(fw_part,argument4)
part_type_gravity(fw_part,argument8,argument9)
part_emitter_region(fw_ps,fw_emit,argument0,argument0,argument1,argument1,ps_shape_rectangle,ps_distr_gaussian)
part_emitter_burst(fw_ps,fw_emit,fw_part,argument11)
Did you define the system it's suppose to be in?
Yes I defined eveyrthing Im supposed to. It worked before but I changed something and I dont know what heppened.
Try script_execute(fireworks,300,room_height/2,5,c_red,1,1,150,2,.2,270,random(360))
You didn't create anything. You need to create systems with part_system_create, particle types with part_type_create, and emitters with part_emitter_create.
so your code should look like this: