Hey I am trying to create a base building AI for my enemy using triggers. Would someone mind looking through this trigger and letting me know what's wrong with it?
I'm getting a trigger took too long to execute error right now :(
OK. You have to either create a custom actor or duplicate one. Then set the [Unit Name] field of the Actor in the upper right corner to whatever your custom unit is. This will connect the actor to the unit and then the actor will appear in the unit field. You can do this the same way for sounds, etc (as far as I know).
In my map, I don't want to use melee or campaign AI. I am trying to get several SCVs in a region to mine from one mineral field. The trigger I am using so far is as follows:
Issue Order To Unit Group
Group: Units In Region Matching Condition
Unit Type: Unit Type From String
String: "SCV"
Region: miner
Player: Any Player
Unit Filter: No Unit Filter
Count: Any Amount
Order: Order Targeting Item
Ability Command: SCV - Gather
Target Item: Rich Mineral Field [44.00, 38.50]
Queue: Replace Existing Orders
However, when I start the map up, I get a trigger error saying the ability SCV-Gather(0) does not have a target. What am I missing?
Thanks.
Awesome, it worked! I guess using a buff is not necessary anymore, since all i did was point it towards my leveling up behavior and set equal to three. Awesome, I can finally proceed. Thanks!
On my map I have created a hero with attributes that levels up. I want him to have the ability "teleport" become available to him after level 3. But for some reason this isn't working? Can anyone help?
0
@BumpInTheNight: Go
Cool thanks. I've changed it to something like this:
0
Hey I am trying to create a base building AI for my enemy using triggers. Would someone mind looking through this trigger and letting me know what's wrong with it? I'm getting a trigger took too long to execute error right now :(
0
Thanks bro!
0
How would I go about killing all units in an area in the space of about a second (Note: Around a hundred to five hundred units, created by a trigger)?
0
OK. You have to either create a custom actor or duplicate one. Then set the [Unit Name] field of the Actor in the upper right corner to whatever your custom unit is. This will connect the actor to the unit and then the actor will appear in the unit field. You can do this the same way for sounds, etc (as far as I know).
0
@nrpXX137: Go
Nevermind, I figured it out. I had to set the Link in effect cost+ to the item :)
0
I have created a health kit item. Effects - gives 50 health. Max charges = 3 Starting charges = 3 Consumed on use = 1
For some reason, no matter what I do, the health kit item does not consume. It stays at 3 charges no matter how many times I click it. Any thoughts?
0
Awesome. Got it to work finally. I guess I could also put the SCVs I want to mine into a group, but whatev. Thanks!
0
In my map, I don't want to use melee or campaign AI. I am trying to get several SCVs in a region to mine from one mineral field. The trigger I am using so far is as follows:
However, when I start the map up, I get a trigger error saying the ability SCV-Gather(0) does not have a target. What am I missing? Thanks.
0
Awesome, it worked! I guess using a buff is not necessary anymore, since all i did was point it towards my leveling up behavior and set equal to three. Awesome, I can finally proceed. Thanks!
0
@nrpXX137: Go
Bump
0
To clarify, I don't really understand the requirement system.
0
On my map I have created a hero with attributes that levels up. I want him to have the ability "teleport" become available to him after level 3. But for some reason this isn't working? Can anyone help?
http://demo.ovh.com/en/ead526f6aeaa1741931ce96531230637/
PS The real map is much more interesting! I just removed everything unnecessary to reduce the file size.
Thanks!
0
No one knows? Pity. Moving on.
0
Bump.