I'm a relatively new map maker - I only worked with the sc1 editor so I'm lost when it comes to the SC2 editor. I'm trying to make it so this happens:
When a unit attacks another unit, the unit being attacked floats in the air (did this).
When the unit is in the air, it's able to walk over things on the ground (such as buildings, units, and most of all to be able to go up cliff levels).
Right now, the unit walks around but it collides with things in its path even though the unit is well over the height of these things. I assume I have to do something like add a behavior which allows the reaper Cliff Jump to be active when the marine is attacked, but I don't know how to do that (and I don't even know if that's what I have to do).
If anyone can help me out, it would be much appreciated. thanks.
You can try going into the data editor for the unit and modify Movement - collision and uncheck ground.
That makes it so that the unit just walks over the cliffs (regardless of if he is currently being shot or not) - it's an improvement, but I want it to only happen when the unit is getting shot.
I guess one way would to make a skill like the valkery, with 0 delay, and a trigger that hides the skill in the command bar. Then a trigger that activates the skill when the unit is attacked
Something like:
Event: Any unit owned by any player is attacked
Condition: Unit type of triggering unit = to Your jumping unit
Action: Active the new valkery skill you made.
You would also need to make one that deactivates the skill and would be similar to the one above
I'm a relatively new map maker - I only worked with the sc1 editor so I'm lost when it comes to the SC2 editor. I'm trying to make it so this happens:
When a unit attacks another unit, the unit being attacked floats in the air (did this). When the unit is in the air, it's able to walk over things on the ground (such as buildings, units, and most of all to be able to go up cliff levels).
Right now, the unit walks around but it collides with things in its path even though the unit is well over the height of these things. I assume I have to do something like add a behavior which allows the reaper Cliff Jump to be active when the marine is attacked, but I don't know how to do that (and I don't even know if that's what I have to do).
If anyone can help me out, it would be much appreciated. thanks.
@noxns: Go
You can try going into the data editor for the unit and modify Movement - collision and uncheck ground.
Bump, I'm having much trouble with this too.
That makes it so that the unit just walks over the cliffs (regardless of if he is currently being shot or not) - it's an improvement, but I want it to only happen when the unit is getting shot.
I guess one way would to make a skill like the valkery, with 0 delay, and a trigger that hides the skill in the command bar. Then a trigger that activates the skill when the unit is attacked
Something like:
Event: Any unit owned by any player is attacked Condition: Unit type of triggering unit = to Your jumping unit Action: Active the new valkery skill you made.
You would also need to make one that deactivates the skill and would be similar to the one above
@RighteousRage: Go
That could work, but it seems it would be limited to only one unit. Do you think it's possible to apply this behavior to any unit that is attacked?