Unit Uses Ability could do the trick, it works for upgrades (like for example when burrow is completed, the trigger will fire), not sure if it works for planetary fortress upgrade, but it's worth a try!
Edit:
To be more precise i will quote Beider:
"Create a new trigger in the trigger editor,
then add a new event. In the list look for "unit uses ability"
Find your upgrade ability and set the "Stage" to "Generic 6 - Complete".
The trigger should now be run when the upgrade is complete, do whatever you need to do inside the trigger."
I got lucky and Beider answered me through Youtube :)
"Add a new condition then find the "Upgrade Count For Player"
In there you can set the upgrade you want, player and that it should be completed. Set that it should be equal to true and it will check if the player has the upgrade."
This does the trick for me :) I will take a look at "Unit uses Ability" also though.
is it possible to make an action (or trigger) condition so that the action (trigger) will only go off if the owner of the triggering unit has completed upgrade XYZ? So something like:
If (Owner of (Triggering Unit) completed Upgrade XYZ)
then do something
I don't understand, can you explain your solution a little more please? Is it possible to have the players select their team in the lobby (meaning if they go team 2 they will be allied with everyone who also is in team 2 in the lobby)?
Don't you need only (Number of Teams)-1 computers to know the different teams? You only gotta check the first few teams and put them in a group and then put the remaining players into the last group. So for example if you want two teams:
P1 Computer
P2 - P12 (or whatever) Players
Put all players allied with P1 Computer into playergroup 1
Put all enemy players into playergroup 2
Ahhh thank you very much, text messaging the supply values was the answer :) Supply limit is actually not the current limit, but the overall limit (i.e. 200). I have to use the supply made function to get the current supply limit. Now it works, thanks!
i got the trigger in the screenshot. What it should do is create a Zealot at every Gateway on the map under the control of the player who controls the gateway. Now i want the unit to spawn only when that players supply limit isn't reached. I made a condition which should do exactly that, but somehow it always returns true, no matter if the supply used is bigger than supply limit or not. Why is this?
0
Hi,
is it possible to check within a trigger if for examble the triggering unit already is affected by a certain ability (buff) like curruption?
Greetz
Error Ash
0
No ideas? :(
0
Hi,
how is it possible to check as a trigger condition if a terran unit has an addon? And also how to check which addon is attached to the building?
Greetz
Error Ash
0
Unit Uses Ability could do the trick, it works for upgrades (like for example when burrow is completed, the trigger will fire), not sure if it works for planetary fortress upgrade, but it's worth a try!
Edit: To be more precise i will quote Beider:
"Create a new trigger in the trigger editor, then add a new event. In the list look for "unit uses ability"
Find your upgrade ability and set the "Stage" to "Generic 6 - Complete".
The trigger should now be run when the upgrade is complete, do whatever you need to do inside the trigger."
0
@BrotherLaz: Go
Not sure if i understand you correctly, but maybe try changing the footprints of your unit to 1x1 footprints?
0
@Mursh_: Go
Can't you remove the item out of the inventory with a trigger? And then create a new instance of the item at the point where u want it?
Just an idea, i don't have much experience with items/inventory stuff...
0
I got lucky and Beider answered me through Youtube :)
"Add a new condition then find the "Upgrade Count For Player"
In there you can set the upgrade you want, player and that it should be completed. Set that it should be equal to true and it will check if the player has the upgrade."
This does the trick for me :) I will take a look at "Unit uses Ability" also though.
0
Hi,
is it possible to make an action (or trigger) condition so that the action (trigger) will only go off if the owner of the triggering unit has completed upgrade XYZ? So something like:
If (Owner of (Triggering Unit) completed Upgrade XYZ) then do something
Can't find a function that does this :/
Greetz Error Ash
0
I don't understand, can you explain your solution a little more please? Is it possible to have the players select their team in the lobby (meaning if they go team 2 they will be allied with everyone who also is in team 2 in the lobby)?
0
Don't you need only (Number of Teams)-1 computers to know the different teams? You only gotta check the first few teams and put them in a group and then put the remaining players into the last group. So for example if you want two teams:
P1 Computer
P2 - P12 (or whatever) Players
Put all players allied with P1 Computer into playergroup 1
Put all enemy players into playergroup 2
Get what i mean?
0
@anguule: Go
As a workaround maybe you could run a periodic trigger which orders the units to attack move the players location every second or so.
0
http://www.livestream.com/beider/folder?dirId=4c68b802-d583-4aa8-80f0-d2a5a2146d02 TD Tutorial - All your questions will be answered there :)
Also i found this to be very helpful too: http://www.youtube.com/user/GalaxyEditorTutorial#g/u and http://www.sc2mapster.com/search/?search=%3A%29 :)
0
Ahhh thank you very much, text messaging the supply values was the answer :) Supply limit is actually not the current limit, but the overall limit (i.e. 200). I have to use the supply made function to get the current supply limit. Now it works, thanks!
0
Hi,
i got the trigger in the screenshot. What it should do is create a Zealot at every Gateway on the map under the control of the player who controls the gateway. Now i want the unit to spawn only when that players supply limit isn't reached. I made a condition which should do exactly that, but somehow it always returns true, no matter if the supply used is bigger than supply limit or not. Why is this?
Greetz Error Ash
0
Thank you very much!
@ZeroAme: Yea i am working on something like Castle Fight (popular WC3 map), but i will try to make it play a little different :)