I'm currently making a map and im now adding different difficulty settings and was hoping to use buffs to do so.
On easy player 15 will have no buffs but on normal player 15's units need the buff "normalmodebuff" my current trigger goes like this:
Add 1 Normalmodebuff to (unit attached to (Entire map)) from player 15
(This happens whenever a player 15 unit is created)
When testing player 15's units have no buff, What am I doing wrong? :s
Second question.
In my map you play as one SCV that can build : wall, Auto turrets ,flamers so on and so forth but if you totally wall yourself in with cliffs near by my hostiles path at cliff edges and generally walk around getting shot but not attacking on maps iv seen units path correctly to a single block of wall surrounded my natural buildings no problem even tho it wasn't the nearest target my hostiles work by attack moving to the nearest armored unit but this inst working as id like it too (as explained above) any help would be great and if the idea of my map sounds fun look for "Daniel's Workers Standing" ;]
"(unit attached to (Entire map))" is wrong and cannot work.
"unit attached to region" is used to get the unit the region is attached to. It's something you specifically need to start and a region can only be attached to a single unit. Attaching means, that the center of the region follows the unit's position, I believe.
"Last created unit" would be what you need, if you want to add that to the unit after creating it.
If you created multiple units like 2 Zerglings with exactly one "create unit" action, then you need to loop over "last created units" (unit group) and add the behavior for each created unit.
Hi guys Dan here.
I'm currently making a map and im now adding different difficulty settings and was hoping to use buffs to do so. On easy player 15 will have no buffs but on normal player 15's units need the buff "normalmodebuff" my current trigger goes like this:
Add 1 Normalmodebuff to (unit attached to (Entire map)) from player 15 (This happens whenever a player 15 unit is created)
When testing player 15's units have no buff, What am I doing wrong? :s
Second question.
In my map you play as one SCV that can build : wall, Auto turrets ,flamers so on and so forth but if you totally wall yourself in with cliffs near by my hostiles path at cliff edges and generally walk around getting shot but not attacking on maps iv seen units path correctly to a single block of wall surrounded my natural buildings no problem even tho it wasn't the nearest target my hostiles work by attack moving to the nearest armored unit but this inst working as id like it too (as explained above) any help would be great and if the idea of my map sounds fun look for "Daniel's Workers Standing" ;]
Thanks for any help Dan.
"(unit attached to (Entire map))" is wrong and cannot work.
"unit attached to region" is used to get the unit the region is attached to. It's something you specifically need to start and a region can only be attached to a single unit. Attaching means, that the center of the region follows the unit's position, I believe.
"Last created unit" would be what you need, if you want to add that to the unit after creating it.
If you created multiple units like 2 Zerglings with exactly one "create unit" action, then you need to loop over "last created units" (unit group) and add the behavior for each created unit.
Thanks that is working now. Any ideas for my pathing problems?