How do I make it so a player's unit can push enemy units? Each player only has a single unit, so it doesn't matter whether it's a solution enabling all of the player's units to push enemy units, or just a single unit.
I checked the alliance aspect triggers, and the pushable option only exists for neutral and allied.
You really need to elaborate on what you mean, as there are several ways to interpret that. Do you mean if you try to walk through them they move out of the way, or that on attack they get pushed back?
In melee games, if you have a bunch of your own or allied units standing around, and you order another unit to go somewhere, and they walk through those units, they'll push the units they walk through out of the way. You can set the push priority of each unit, so usually bigger units will push through smaller ones.
The goal of this is to allow a tank hero to have a getaway option. He can push enemy units out of the way. As well, he can clear a path for trapped allied heroes so they can walk through the path he pushes.
Ah, I see. While I think that there is no way to use the default push priorities to push enemy units, You could potentially use an aura type behavior that applies a force effect away from the host unit, or if it is a charge type ability you are looking for, two force effects (as I believe units path around other units they cant push through.) to push the tank forward to the target location, and a second aura effect doing the same thing I said before.
I believe there is a trigger called something like "Turn Pushable On"
I don't think there is any restriction on whether the players involved are allies or enemies.
Alternatively, if such a trigger doesn't exist (I can't quite remember), then this might be controllable using the Set Alliance Aspect trigger.
I definitely know there is a way to control Pushability with triggers as I was had to turn off all pushing for my own map.
have a Behavior buff applied on your hero that does a search of 1 radius or whatever you want it to be, that applies a force effect for a short duration... will basically be pushing enemies out of the way, yah?
have a Behavior buff applied on your hero that does a search of 1 radius or whatever you want it to be, that applies a force effect for a short duration... will basically be pushing enemies out of the way, yah?
That wouldn't effectively replicate the effects of pushability. Normally pushing only works when the unit is idle, what your suggesting I don't think would.
How do I make it so a player's unit can push enemy units? Each player only has a single unit, so it doesn't matter whether it's a solution enabling all of the player's units to push enemy units, or just a single unit.
I checked the alliance aspect triggers, and the pushable option only exists for neutral and allied.
You really need to elaborate on what you mean, as there are several ways to interpret that. Do you mean if you try to walk through them they move out of the way, or that on attack they get pushed back?
@Ranakastrasz: Go
In melee games, if you have a bunch of your own or allied units standing around, and you order another unit to go somewhere, and they walk through those units, they'll push the units they walk through out of the way. You can set the push priority of each unit, so usually bigger units will push through smaller ones.
The goal of this is to allow a tank hero to have a getaway option. He can push enemy units out of the way. As well, he can clear a path for trapped allied heroes so they can walk through the path he pushes.
Ah, I see. While I think that there is no way to use the default push priorities to push enemy units, You could potentially use an aura type behavior that applies a force effect away from the host unit, or if it is a charge type ability you are looking for, two force effects (as I believe units path around other units they cant push through.) to push the tank forward to the target location, and a second aura effect doing the same thing I said before.
I believe there is a trigger called something like "Turn Pushable On"
I don't think there is any restriction on whether the players involved are allies or enemies.
Alternatively, if such a trigger doesn't exist (I can't quite remember), then this might be controllable using the Set Alliance Aspect trigger.
I definitely know there is a way to control Pushability with triggers as I was had to turn off all pushing for my own map.
I thought there was a setting for
set as enemies (pushable)
EDIT: looks like you checked this already.
Set alliance aspect, pushable is an option, as ardnived said.
its in in the data ive was messing around and checked it its under the units tab in a unit
@aczchef: Go
have a Behavior buff applied on your hero that does a search of 1 radius or whatever you want it to be, that applies a force effect for a short duration... will basically be pushing enemies out of the way, yah?
That wouldn't effectively replicate the effects of pushability. Normally pushing only works when the unit is idle, what your suggesting I don't think would.
Under a buff/unit/modify unit its possible
@Ardnived: Go
You simply add the validator 'NotMoving' to the Force Effect. If the enemy unit is stationary, push the unit. if it's moving, you are blocked.