I have a drakken laser drill which I want to automatically fire upon any air unit that comes within 50 or so range of it (that is assuming weapon range units are equal to sight radius units). My problem is that the AI doesn't attack it until the unit is in its own sight range, which is at maximum 32.
I tried starting an AI for player 15, then issuing the attack order on any unit that enters the region, but it's not working, even with a bunker spotting for it.
I'd really like for this to work, otherwise i'll have to replace the drill with 20 missile turrets to cover the area
What about using a requirement, similar to the Mothership, instead of
charges?
a map-wide search area effect, searching for the turret using validators
and executing a lethal effect on it, or a trigger, which triggers when
casting the spell and picks all turrets of that player and kills them.
I tried altering the mothership requirement by replacing the mothership alias with changeling, and attached the requirement to the ability command, but it doesnt seem to be preventing it. might it have to do with my trigger disabling tech requirements?
1: I have an RPG map starring a changeling and I want to use an Overseer - Spawn Changeling ability as the respawn. I gave Spawn Changeling a charge counter (start with 1, max 1). How do I give the Overseer a Spawn Changeling charge when any hero belonging to the player dies?
2: One of my heroes has the Raven - Place Auto-Turret ability, but I want to limit it to one active at a time. How do I destroy the old turret when a new on is placed?
What I want to make happen is if player 1's overseer is the only unit player 1 has, add a counter to Overseer - Spawn Changeling ability. I haven't managed to do this on my own. Does anyone know a way?
EDIT: i figured out a way to do this, though with energy, not charges.
You know it would probably just be easier to copy the gateway transform ability, it does exactly what you need it to do.
I'm trying to do a similar thing, and the simplest way I found was to give the units the larva morph ability.
My problem is, I don't know how to morph into protoss or terran units, the unit heals to full on each morph, and the unit doesn't retain experience through morphs.
I tried copying the gateway transform, but I end up with an invisible unit. How do I get my changeling to transform into a Hydralisk using this method?
The Trigger you want to change is the Set Enemy Unit Height, how its setup you have to create a if then for every enemy unit on the map but adding a or statement in the if can let you add units that you would think has the same height, here is how i set my height trigger
SetEnemyUnitHeightEventsLocalVariablesConditionsActions------- Set custom height values to each enemy unit used on the map, since the triggers can't gather this information by themselvesUnitGroup-Pickeachunitin(Unitsin(Entiremap)havingallianceEnemywithplayer1matchingExcluded:Missile,Dead,Hidden,withatmostAnyAmount)anddo(Actions)Actions------- 0.5 SetGeneral-If(Conditions)thendo(Actions)elsedo(Actions)IfOrConditions(Unittypeof(Pickedunit))==Zergling(Unittypeof(Pickedunit))==Zergling(Burrowed)ThenUnit-Set(Pickedunit)customvalue0to0.5Else------- 0.7 SetGeneral-If(Conditions)thendo(Actions)elsedo(Actions)If(Unittypeof(Pickedunit))==BanelingThenUnit-Set(Pickedunit)customvalue0to0.7Else------- 1.0 SetGeneral-If(Conditions)thendo(Actions)elsedo(Actions)IfOrConditions(Unittypeof(Pickedunit))==Marine(Unittypeof(Pickedunit))==InfestedTerran(FromTerranInfestationRupture)(Unittypeof(Pickedunit))==Auto-TurretThenUnit-Set(Pickedunit)customvalue0to1.0Else------- 1.5 SetGeneral-If(Conditions)thendo(Actions)elsedo(Actions)If(Unittypeof(Pickedunit))==HydraliskThenUnit-Set(Pickedunit)customvalue0to1.5Else------- 6.2 SetGeneral-If(Conditions)thendo(Actions)elsedo(Actions)If(Unittypeof(Pickedunit))==UltraliskThenUnit-Set(Pickedunit)customvalue0to6.2Else------- 10.0 SetGeneral-If(Conditions)thendo(Actions)elsedo(Actions)If(Unittypeof(Pickedunit))==OverlordThenUnit-Set(Pickedunit)customvalue0to10.0Else
Okay I think I got the first part (the very first part), but the rest is greek to me. I have no idea how to make an if-then statement.
0
I'm having trouble figuring out how to retain the unit's percentage health when morphing. Right now they all heal to full.
Thanks so much
0
@EasyOOP: Go
I did exactly that and the circle isn't getting any bigger.
EDIT: I figured it out. I had to edit the radar actor and change it's range in the field.
0
@Titanisdrb: Go
How would I give an Infestor an active ability to steal 15 health from a target over 3 seconds?
0
How do I change the size of the big circle shown to enemy players? it's range is about 27 weapon range units but I want to increase it.
0
@deathtorn: Go
Thanks, it's working now :D
0
Thank you! That works!
I have another question.
I have a drakken laser drill which I want to automatically fire upon any air unit that comes within 50 or so range of it (that is assuming weapon range units are equal to sight radius units). My problem is that the AI doesn't attack it until the unit is in its own sight range, which is at maximum 32.
I tried starting an AI for player 15, then issuing the attack order on any unit that enters the region, but it's not working, even with a bunker spotting for it.
I'd really like for this to work, otherwise i'll have to replace the drill with 20 missile turrets to cover the area
0
I would love an example. The Trigger window has me quite lost.
0
I tried altering the mothership requirement by replacing the mothership alias with changeling, and attached the requirement to the ability command, but it doesnt seem to be preventing it. might it have to do with my trigger disabling tech requirements?
0
Hi, I have a couple questions.
1: I have an RPG map starring a changeling and I want to use an Overseer - Spawn Changeling ability as the respawn. I gave Spawn Changeling a charge counter (start with 1, max 1). How do I give the Overseer a Spawn Changeling charge when any hero belonging to the player dies?
2: One of my heroes has the Raven - Place Auto-Turret ability, but I want to limit it to one active at a time. How do I destroy the old turret when a new on is placed?
0
What I want to make happen is if player 1's overseer is the only unit player 1 has, add a counter to Overseer - Spawn Changeling ability. I haven't managed to do this on my own. Does anyone know a way?
EDIT: i figured out a way to do this, though with energy, not charges.
0
I'm trying to do a similar thing, and the simplest way I found was to give the units the larva morph ability. My problem is, I don't know how to morph into protoss or terran units, the unit heals to full on each morph, and the unit doesn't retain experience through morphs.
I tried copying the gateway transform, but I end up with an invisible unit. How do I get my changeling to transform into a Hydralisk using this method?
0
@Droganis: Go
Okay I think I got the first part (the very first part), but the rest is greek to me. I have no idea how to make an if-then statement.
0
Hey great engine, I'm loving it so far. I just have a question about step 10 in your instructions. What exactly do I change?
My shots are not doing damage and I'm assuming step 10 is why.