I am trying to get the AI to control an allied players units, shared control is on between the players an AI and i'm using attack wave to issue orders to the AI.
Adding allied units to the attack wave doesn't seem to work, the AI won't use the units unless I change ownership to the AI (I can't just do this because units lose there upgrades).
I just did a quick demonstration map on how to achieve this.
There is a behavior which procs on damage, running a switch which determines the angle of attack, applying a +1 or -1 armor buff as needed. Also included a trigger so you can see the effect in chat.
I am trying to give the player resources every time a hero levels up through Veterancy Behavior, I know how to make the effect to give the player resource through the data editor, but I don't know of a way to run the effect on level up.
I would much prefer to do this in the data editor if at all possible.
This is done through Requirements, the Ability called Carrier - Hangar (or in this case your duplicated version) will have a requirement set called Arm Interceptor.
The Expression for the Requirement should be:
CountUnit(Interceptor,QueuedOrBetterAtUnit) < 8
A dummy ability is an ability with no effect, they are very easy to create. Simply create a new ability, set it to Effect - Instant and delete any data in Effect - Effect field.
Add the ability to your unit, then add it to the command card, the ability field in the command card should be your ability and the ability command field should be blank.
Then to activate the trigger use the event Unit is Issued Order to <your dummy ability>
Sub Menus will not show up unless there are usable Buttons in them, the cancel button doesn't count either. Also I believe if you have requirements not met for all of the items in a submenu it will no show up either.
For me it's very odd, on my PC I can use it fine without logging into battle.net, however on my laptop it requires verification every time the editor is started. I can't find any reason why.
The standard blizzard seems to have adopted is setting the cost on the unit to what you want it to cost and set the cost to 0 in the build ability, thats what I have done with all my units and it seems to be working fine. If you put cost in both fields they will be added together.
0
@ResolveHK: Go
Under Game Variants - Attributes: (player) Controller
Set the computers you want as computer and locked, also set the player slots to Open and unlocked or the header will fail to upload.
0
I am trying to get the AI to control an allied players units, shared control is on between the players an AI and i'm using attack wave to issue orders to the AI. Adding allied units to the attack wave doesn't seem to work, the AI won't use the units unless I change ownership to the AI (I can't just do this because units lose there upgrades).
0
@devilesk: Go
I haven't done much work with this type of thing, but you could try these settings in the create persistent effect.
Edit: I just had a play with the editor, this does work fine. See attached map.
0
@devilesk: Go
I just did a quick demonstration map on how to achieve this.
There is a behavior which procs on damage, running a switch which determines the angle of attack, applying a +1 or -1 armor buff as needed. Also included a trigger so you can see the effect in chat.
0
I am trying to give the player resources every time a hero levels up through Veterancy Behavior, I know how to make the effect to give the player resource through the data editor, but I don't know of a way to run the effect on level up. I would much prefer to do this in the data editor if at all possible.
0
@Eiviyn: Go
This is done through Requirements, the Ability called Carrier - Hangar (or in this case your duplicated version) will have a requirement set called Arm Interceptor.
The Expression for the Requirement should be: CountUnit(Interceptor,QueuedOrBetterAtUnit) < 8
0
Add the ability to your command center not the marine. The picture of the marine in the command card has no link to the marine it's just a button.
0
@NotDeadYet3: Go
A dummy ability is an ability with no effect, they are very easy to create. Simply create a new ability, set it to Effect - Instant and delete any data in Effect - Effect field.
Add the ability to your unit, then add it to the command card, the ability field in the command card should be your ability and the ability command field should be blank.
Then to activate the trigger use the event Unit is Issued Order to <your dummy ability>
0
@SkrowFunk: Go
Just an idea but it could be a Splat Actor attached to the unit. The splat is the burn type effect under terran structures.
0
Sub Menus will not show up unless there are usable Buttons in them, the cancel button doesn't count either. Also I believe if you have requirements not met for all of the items in a submenu it will no show up either.
0
@LinkD: Go
For me it's very odd, on my PC I can use it fine without logging into battle.net, however on my laptop it requires verification every time the editor is started. I can't find any reason why.
0
@DarkShape80: Go
Auto Cast on the Siege Tank morph ability can do what you want very easily.
0
@Zarakk: Go
The Ability you are using is it a Morph or a Build, or something else?
If it is a Morph the solution might be to flag Ignore Unit Cost in the ability Stats - Flags, then set the cost in the ability.
0
The standard blizzard seems to have adopted is setting the cost on the unit to what you want it to cost and set the cost to 0 in the build ability, thats what I have done with all my units and it seems to be working fine. If you put cost in both fields they will be added together.
0
@38dedo: Go
That's odd, this method works perfectly fine on my map. Could something else be at fault for the crash?