1 more question to make things easy. For testing i have 16 region. So no problem putting all the regions in to an array/matrix. But in future i gonna have over 256 regions.
Is there a funtion to put all regions in to an array?
Or Can i use the scripts?Similar like this
For loop(){
gv_RegionArray[i] = RegionFromId(i);
}
ok i am new to the map making so cant you make the last 4 if states something like this
UI - Display "Your hero has"+ArrayOfNumberNames[Vespene]+Vespene+"lives remain..." for (Player group((Owner of (Triggering unit)))) to Subtitle area
Sound - Play Dialogue_TransmissionStart for (Player group((Owner of (Triggering unit)))) (at 100.0% volume, skip the first 0.0 seconds)
For your problem,
Your created units is not Hallucination
Unit - Create 1 (Unit type of (Triggering unit))-> ((Triggering unit) is Hallucination) == false
If i am wrong dont be harsh pls i said i am newbie : )
Edit About If states:Ok @soulcarverr was first but he has a miner bug : )
For first one you should able to put them in an array and use your random int to choose the spot.Maybe there is also a way to put all regions in to an array with one click but i dont know how.
Example : MyRegionArray[RandomNumber]
For the second one i have an idea but i dotn think it is better then yours : )
0
With triggers or something like that?
if not possible can creep used in same way?
0
Ok you can make a check if there is a open path between 2 locations.
I dont know how but there is an example at "Mineralz" map. Which is open to public. The triger checks if the probe is in a base or not buy this way.
0
Thanks this looks very promising.
1 more question to make things easy. For testing i have 16 region. So no problem putting all the regions in to an array/matrix. But in future i gonna have over 256 regions. Is there a funtion to put all regions in to an array?
Or Can i use the scripts?Similar like this For loop(){ gv_RegionArray[i] = RegionFromId(i); }
Edit:Yes it is working Thanks again.
0
I am starting to think i found the only imposible thing to do in Galaxy Editor : (
0
ok i am new to the map making so cant you make the last 4 if states something like this
UI - Display "Your hero has"+ArrayOfNumberNames[Vespene]+Vespene+"lives remain..." for (Player group((Owner of (Triggering unit)))) to Subtitle area Sound - Play Dialogue_TransmissionStart for (Player group((Owner of (Triggering unit)))) (at 100.0% volume, skip the first 0.0 seconds)
For your problem, Your created units is not Hallucination Unit - Create 1 (Unit type of (Triggering unit))
-> ((Triggering unit) is Hallucination) == falseIf i am wrong dont be harsh pls i said i am newbie : )
Edit About If states:Ok @soulcarverr was first but he has a miner bug : )
0
Actually this one can be just what need thanks
0
Still need help
0
Consider i am new to the map making pls
For first one you should able to put them in an array and use your random int to choose the spot.Maybe there is also a way to put all regions in to an array with one click but i dont know how.
Example : MyRegionArray[RandomNumber]
For the second one i have an idea but i dotn think it is better then yours : )
0
How to remove bulding blokers in game with trigers?
İf imposible what is the best way to make buidable/unbuildable regions/areas in game which can be changed to oposite during the game?