room_get_list
This code can be useful if you have to set the views to all rooms, i.e. with "room_set_view".
-- EDIT --- by TizSoft
Now the the snippet returns a ds_list containing all rooms
Source code
var ri,list;
list=ds_list_create();
ri=room_first;
while (ri != -1){
ds_list_add(list,ri);
ri = room_next(ri);
}
return list;