The code "random X units from X region" doesnt pick a random unit. When i start the map the first unit is always the same. The second is almost the same.
This is the picture of it.
http://img508.imageshack.us/img508/8423/notrandomny4.jpg
This is what i want to do.
There is a region named "rasgele_yaratik" and on it there are 40 different units.
This trigger is suppost to;
- Pick a random unit from "rasgele_yaratik" region and put it in "rasgele_birim"
variable.
- Create that unit 5 times.
- Rise max hp by givin an item.
- Collision off to open their way.
- wait 0.5 seconds for the next turn.
Then..
- Kill the unit that copy 5 times. So it will not create again.
- Clear the unit group variable "rasgele_birim"
- Wait XXX seconds dor the next LvL
Then..
I will copy/paste the whole code 40 times to make 40 LvL TD.
The end =)
Is there a ready-to-use random create unit code for a TD map? I really need one. I'm really frustrated.
This is the picture of it.
http://img508.imageshack.us/img508/8423/notrandomny4.jpg
This is what i want to do.
There is a region named "rasgele_yaratik" and on it there are 40 different units.
This trigger is suppost to;
- Pick a random unit from "rasgele_yaratik" region and put it in "rasgele_birim"
variable.
- Create that unit 5 times.
- Rise max hp by givin an item.
- Collision off to open their way.
- wait 0.5 seconds for the next turn.
Then..
- Kill the unit that copy 5 times. So it will not create again.
- Clear the unit group variable "rasgele_birim"
- Wait XXX seconds dor the next LvL
Then..
I will copy/paste the whole code 40 times to make 40 LvL TD.
The end =)
Is there a ready-to-use random create unit code for a TD map? I really need one. I'm really frustrated.