MissKerrigan
Active Member
- Reaction score
- 23
Hello there,
What I'm trying to make is advanced but I'll try to explain it:
- I created 64 regions in my map (8x8 regions)
- There is some space between these region, but the space between the regions is all equal
- So let's say that every field of 6x6 contains a region of 2x2 in middle of it
- At the edge of the map there are 4 long regions which are:
1. region from left bottom to left top
2. region from left bottom to right bottom
3. right top to right bottom
4. right top to left top
(got me so far?
Now what I want to create is that units appears in the 4 regions I just mentioned and will move to a random region in the field with 64 regions. When they arrived in this region, they must pick a random region again, repeatly till they are dead.
(the map is just like a chess board where units start outside of the chessboard and keep moving in the chessboard till they are dead)
The purpose of the map is that you must find the units within time and kill them
Every level contains 10 units and before the timer reach zero you must killed them
When you found and killed all 10 units, the timer get's to 10 minutes again and the next level is coming
My only question is:
1. How can I order the computer to move the units to a random region?
I must tell you that I already tried to make 1 big region and give them a move to a random point in region, but this is not working because the units must keep moving in the field till they are dead
Hope anyone understands what I'm trying to do
MissKerrigan
What I'm trying to make is advanced but I'll try to explain it:
- I created 64 regions in my map (8x8 regions)
- There is some space between these region, but the space between the regions is all equal
- So let's say that every field of 6x6 contains a region of 2x2 in middle of it
- At the edge of the map there are 4 long regions which are:
1. region from left bottom to left top
2. region from left bottom to right bottom
3. right top to right bottom
4. right top to left top
(got me so far?
Now what I want to create is that units appears in the 4 regions I just mentioned and will move to a random region in the field with 64 regions. When they arrived in this region, they must pick a random region again, repeatly till they are dead.
(the map is just like a chess board where units start outside of the chessboard and keep moving in the chessboard till they are dead)
The purpose of the map is that you must find the units within time and kill them
Every level contains 10 units and before the timer reach zero you must killed them
When you found and killed all 10 units, the timer get's to 10 minutes again and the next level is coming
My only question is:
1. How can I order the computer to move the units to a random region?
I must tell you that I already tried to make 1 big region and give them a move to a random point in region, but this is not working because the units must keep moving in the field till they are dead
Hope anyone understands what I'm trying to do
MissKerrigan