Hey everyone so I have a question. I have an Object Group of Points that I made using the "Object Groups" window. Now I want to take that group and put a unit at every single point in the group. I am simply wondering what triggers can be used to access the points in the group similar to how I can access units in a unit Group with the "Pick each unit in unit group" trigger.
Is there any trigger that allows me to do this?
I know that if I put them all in an array I can access them like that by simply iterating through the array but I would prefer to not have to make 50+ triggers by hand to add every single one to a spot in an array. As far as I can tell that is the only way to access each individually which begs the question in my mind, what is the point of an Object group of Points? Or of Cameras? Or of Doodads?(All three of these can be made with the "Object Groups" window. As far as I can tell the only two "Groups" that can be accessed through triggers are Unit Groups and Player Groups, so if that is the case what scenario would I use any of these other groups in, and how would I use them?
Thanks for any help you can give and have a great day.
Hey everyone so I have a question. I have an Object Group of Points that I made using the "Object Groups" window. Now I want to take that group and put a unit at every single point in the group. I am simply wondering what triggers can be used to access the points in the group similar to how I can access units in a unit Group with the "Pick each unit in unit group" trigger.
Is there any trigger that allows me to do this?
I know that if I put them all in an array I can access them like that by simply iterating through the array but I would prefer to not have to make 50+ triggers by hand to add every single one to a spot in an array. As far as I can tell that is the only way to access each individually which begs the question in my mind, what is the point of an Object group of Points? Or of Cameras? Or of Doodads?(All three of these can be made with the "Object Groups" window. As far as I can tell the only two "Groups" that can be accessed through triggers are Unit Groups and Player Groups, so if that is the case what scenario would I use any of these other groups in, and how would I use them?
Thanks for any help you can give and have a great day.
@DaveSilver: Go
an "object group"? I've never heard of that, to be honest...
I would save each point into an array. That way, you can run a simple for each integer loop through all the points, and create a unit at each.