- Joined
- May 12, 2012
- Messages
- 59
im trying to set up a few regions to act as second stage starting areas. by which i mean:
In the map im working on you purchase your starting species, after which you get transported to a random region to build your base without forcing you to walk your character to a starting area. Ive mad a blank map and added the triggers to the map so theres no confusion as to what needs done. ill just copy the fix over and modify it to work in the map itself. if you could make the trigger initially work ill do the rest
I have only three units that need to be moved to locations and 12 regions to move them to so id like it to avoid doing them in order of the variable, forgive me if i rant for i work the night shift and have been up total for 18 hours... yaaaaay
below are the triggers, i added one out of the four of the test map as theyre pretty much identical so you can see it first then hopefully fix it:
Ive also included the map so you can tweak it.
Thank you everyone for your help in this problem. its much appriciated
In the map im working on you purchase your starting species, after which you get transported to a random region to build your base without forcing you to walk your character to a starting area. Ive mad a blank map and added the triggers to the map so theres no confusion as to what needs done. ill just copy the fix over and modify it to work in the map itself. if you could make the trigger initially work ill do the rest
I have only three units that need to be moved to locations and 12 regions to move them to so id like it to avoid doing them in order of the variable, forgive me if i rant for i work the night shift and have been up total for 18 hours... yaaaaay
below are the triggers, i added one out of the four of the test map as theyre pretty much identical so you can see it first then hopefully fix it:
-
Untitled Trigger 001
-
Events
-
Time - Elapsed game time is 0.10 seconds
-
-
Conditions
-
Actions
-
Set region_count = (region_count + 1)
-
Set Region[region_count] = Region 000 <gen>
-
-
-
Untitled Trigger 005
-
Events
-
Unit - A unit enters spot <gen>
-
-
Conditions
-
Actions
-
Unit - Move (Entering unit) instantly to (Center of Region[(Random integer number between 0 and region_count)])
-
Set region_count = (region_count - 1)
-
-
Thank you everyone for your help in this problem. its much appriciated