gms2 loop through all objects of one type code example
Example: gms2 loop through all objects of one type
with(obj) {
// Loops through all objects of this type
// Use "object_index" for getting the objects
}
with(obj) {
// Loops through all objects of this type
// Use "object_index" for getting the objects
}