I am trying to randomly generate units from a Unit Array in a random place in a region. Is this the proper format? Its not working.
Unit - Create 1 (Unit type of Unit Array[(Random integer between 0 and 100)]) for player 1 at (Random point in Region 003) facing 270.0 degrees (No Options)
The array itself is already a Unit Type. What you are currently trying to do is get the Unit Type of a Unit. You will not see the array there because Unit Type and Unit are incompatible types. I do not think this is what you are after doing.
Modify the field "Type: Unit Type of Unit" and change it to Variable and select your Unit Type variable there. Add randomness to the index and you are all set.
I am trying to randomly generate units from a Unit Array in a random place in a region. Is this the proper format? Its not working.
Unit - Create 1 (Unit type of Unit Array[(Random integer between 0 and 100)]) for player 1 at (Random point in Region 003) facing 270.0 degrees (No Options)
Here is what I have http://i.imgur.com/aYOkxQb.png
you need to make the unit array according to your image
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
The unit array already exists. http://i.imgur.com/mavpt5F.png Its also being populated. http://i.imgur.com/NcGecFc.png
The array itself is already a Unit Type. What you are currently trying to do is get the Unit Type of a Unit. You will not see the array there because Unit Type and Unit are incompatible types. I do not think this is what you are after doing.
Modify the field "Type: Unit Type of Unit" and change it to Variable and select your Unit Type variable there. Add randomness to the index and you are all set.
Got it thanks, I was wondering what I was doing wrong. http://i.imgur.com/cARVicF.png