I have been searching for some function to change the starting rally point of the structure NEXUS.
I know there is a function for the Hatchery (SET Hatchery RALLY POINT)
but i've found nothing for other races as TERRAN and Protoss, for the COMMAND CENTER and the NEXUS.
Whenever i make a TRIGGER for the AI to build a probe, that probe it will go automatically to collect minerals.
Because the NEXUS RALLY POINT is set to Minerals.
And how to change it to another location, like Region or Points.
If anyone knows of any method, I'd appreciate a lot.
With the function "Issue Order" or "Issue AI Order"
Set the order type to "Order targeting point"
Set the ability command: "Set rally point" (Nexus - rally)
Set your target point.
Set your desired nexus.
With the trigger "Issue Order" or "Issue AI Order"
Set the order type to "Order targeting point"
Set the ability command: "Set rally point" (Nexus - rally)
Set your target point.
Set your desired nexus.
e.g.
[code=lua]
Unit - Order Nexus [61.50, 60.50] to ( Set Rally Point targeting Target Point) (Replace Existing Orders)
The problem is that my map is a (multi-player) melee map.
There are no structures initially created, only Start-Locations.
But my TRIGGER is precisely for one Location, assuming that it will be occupied by the Protoss.
(Later this Location will have 3 TRIGGERs one for each race)
That function "Issue Order" or "Issue AI Order", are a great start, but they need a unit already created in the map.
Anyway i will explore further more these two functions...
Are you just wanting the rally to be set at the very start of the game, or every time a nexus is created there? If at the start of the game you could use something like the following. If for every nexus, do pretty much the same thing but put it in a "Unit is created" trigger.
I have been searching for some function to change the starting rally point of the structure NEXUS.
I know there is a function for the Hatchery (SET Hatchery RALLY POINT)
but i've found nothing for other races as TERRAN and Protoss, for the COMMAND CENTER and the NEXUS.
Whenever i make a TRIGGER for the AI to build a probe, that probe it will go automatically to collect minerals.
Because the NEXUS RALLY POINT is set to Minerals.
And how to change it to another location, like Region or Points.
If anyone knows of any method, I'd appreciate a lot.
With the function "Issue Order" or "Issue AI Order"
Set the order type to "Order targeting point"
Set the ability command: "Set rally point" (Nexus - rally)
Set your target point.
Set your desired nexus.
e.g.
The problem is that my map is a (multi-player) melee map.
There are no structures initially created, only Start-Locations.
But my TRIGGER is precisely for one Location, assuming that it will be occupied by the Protoss.
(Later this Location will have 3 TRIGGERs one for each race)
That function "Issue Order" or "Issue AI Order", are a great start, but they need a unit already created in the map.
Anyway i will explore further more these two functions...
Thanks.
Are you just wanting the rally to be set at the very start of the game, or every time a nexus is created there? If at the start of the game you could use something like the following. If for every nexus, do pretty much the same thing but put it in a "Unit is created" trigger.
@DeltaV: Go
Thanks... It WORKS.... Really thanks a lot man.
But it was messy to find out some of the function...
EX.
"Nexus units in MyRegion01" (This one almost killed my brain)
Now i just need to know if it works later by adding another rally point to the same structure.