| 04-30-2010, 04:14 AM | #1 |
So i'm trying to make this trigger called shade shift and basically it's blink but whenever you use blink i want it so all units that are in the path of blink become damaged. i've been messing around with this but have been pretty unsuccessful. Any tips? i don't wanna use JASS either. |
| 04-30-2010, 01:05 PM | #2 | |
Quote:
|
| 04-30-2010, 02:34 PM | #3 |
i just have no idea how to use it lol |
| 04-30-2010, 04:00 PM | #4 |
When you learn Jass, which is required, use LineSegments |
| 05-02-2010, 01:17 AM | #5 |
Trigger: |
| 05-02-2010, 01:57 AM | #6 |
wow excellent idea. and change the animation of the spell to none i suppose. |
| 05-02-2010, 02:53 AM | #7 |
There are a couple of problems with that solution though. Since the blink spell can be cast on any point between the caster and the max range (let's say 1000), you have to make the carrion swarm have a max distance of 1000. But then if you blink to a point only 300 away from you, the carrion swarm will go the full 1000 distance. |
| 05-02-2010, 01:05 PM | #8 |
line select + dodamage |
| 05-02-2010, 01:10 PM | #9 |
good point about the range. and isn't line select JASS only? |
| 05-03-2010, 08:08 AM | #10 |
JASS is not required for this. You need to move a dummy unit from point A to point B and enumerate units that are within a certain area of the dummy unit. Add the units that are enumerated to a group and filter out units that are in that group from being enumerated. Once the dummy has completed it's "line", you'll deal damage to all units that were enumerated in the second group. It's a little hard to explain, though I really don't like making code in GUI. |
| 05-03-2010, 12:19 PM | #11 | |
Quote:
you don't need to move an unit, a simple location (called point in gui) is enough. but i'll do it in jass, jass waaayy easier to code "complicated" tasks in than gui |
| 05-04-2010, 12:08 PM | #12 |
Yea, there isn't even a need for the dummy unit you can just use coordinates/location like you said. I don't know what I was thinking when I posted. |
| 05-05-2010, 06:48 PM | #13 |
ill yo. i'll give it a try +rep for your help so far. thanks guys. |
| 05-07-2010, 10:23 PM | #15 |
Trigger: Unit - Create 1 Ranged Dummy for (Owner of (Casting unit)) at ShadeShiftPoint facing (Angle from (Position of (Casting unit)) to (Target point of ability being cast)) degreesMath - Angle Between Points Also that still looks like it'll be really shit, since it's just the point offset by 1000 backwards (actually, it doesn't even look like it's being offset in correct direction but I can't find that GUI function so I can't tell you how to make it work properly, I think you wanna use Polar Projection though). But yeah, if you blink at a point only 300 away from you, the Carrion Swarm would just spawn 700 units behind where you where then move to where you are.. Still kinda crappy. |
