How can I make spawned AI units attack me, without using triggers?
Example:
Two drones are mining. If I attack one, both will attack my unit.
I looked through the Zergling AI items, and didn't see anything of use. Is there anyway to set them to be "aggressive" Or look for things to kill? Again, without triggers.
Anyone have any info on how to make enemy AI (computers) to use abilities? Stimpak, Snipe, etc. Been searching around for a read but I can't seem to find anything. Is it something simple I am missing?
Can you add a Trigger to a Variable? I am looping through multiple "Any Unit Dies" events and I don't want certain Triggers to fire. Something like adding Picked Units to a Variable. Anything out there like that?
But, I don't know how to link an actor just to get rid of the sphere. All of my searching leads me to Copying from a unit, but I just simply want to reference a copied unit (that copied unit will have it's model changed to something else) anyone have an easy way to do this?
0
How can I make spawned AI units attack me, without using triggers?
Example:
Two drones are mining. If I attack one, both will attack my unit.
I looked through the Zergling AI items, and didn't see anything of use. Is there anyway to set them to be "aggressive" Or look for things to kill? Again, without triggers.
0
@GlornII: Go
To add on this, do you know a way to show the progress of the kill count for the DroneKill variable?
0
@GlornII: Go
Just did a quick test and it's working. Thanks a bunch for clearing my scatter brain up :)
0
@GlornII: Go
Ah! Guess I stumbled on it and over-thought it. I am making a Scoreboard system.
If X amount of Drones have been killed, then add Y to Player Z (on the scoreboard)
Drones is just an example, but they need to be stored for the reward system, which is.
If Player X has >= amount of Y points, then create Z item.
0
Anyone have a way to store kills into a variable so the total amount can be called upon later? Example:
Any Drone dies. Store the drone kill into a Drone Kill integer
If Drone Kill integer is greater than X, then spawn a unit.
0
@TheSC2Maniac: Go
Thanks a lot! I'll take a gander at this. The internet information is sparse on this subjection 0_o
0
@TheSC2Maniac: Go
Awesome! Thanks for the reply. Any links to that map or reference? Or is that map Public on SC2?
0
Anyone have any info on how to make enemy AI (computers) to use abilities? Stimpak, Snipe, etc. Been searching around for a read but I can't seem to find anything. Is it something simple I am missing?
Anything more complex; such as:
X Unit is under X health use X ability.
0
@GlornII: Go
I shall try this when I get the leveling system complete. Thanks for the quick response!
0
Anyone know a way to make a Condition to read like the following
Events
Local Variables
Conditions
Hero Level > 4
Actions
Create X units for X player
0
Can you add a Trigger to a Variable? I am looping through multiple "Any Unit Dies" events and I don't want certain Triggers to fire. Something like adding Picked Units to a Variable. Anything out there like that?
0
@DrSuperEvil: Go
Ah! Thank you both, I've got the model now! Thanks for the patience with this :)
0
@DrSuperEvil: Go
I created an actor from scratch, configured the Model to be a crate and gave it a Unit Birth - Create. It's still not linking to my actual Unit.
0
Gah! Anyone? Can't find this =/
0
Going through this tutorial
http://www.sc2mapster.com/forums/resources/tutorials/12163-data-creating-a-powerup-item-that-activates-when-touched/
But, I don't know how to link an actor just to get rid of the sphere. All of my searching leads me to Copying from a unit, but I just simply want to reference a copied unit (that copied unit will have it's model changed to something else) anyone have an easy way to do this?