| 03-22-2006, 05:51 AM | #1 |
Is there any way to make a unit channel something without the unit actually casting a spell? I got a unit that drags an enemy unit near to it, when the enemy unit is near I want my unit to play attack anin and to stay still for a short time(until it ends playing attack anim), first it doesnt remain still, sometimes it rorates if theres another enemy close and second it does damage when it plays the attack anim(I dont want it to do damage) So I though that a channeling could solve my problem, I think I can do it with pause unit function but Ive heard that its not good, why is that? ALSO: I hav a unit that dashes, and for the dash I set the pathing off, the problem is that since I dont control the point the unit is dashing it can sometimes get off the limits of the map, sometimes it stays in the shadow and sometimes it even disapears!! Ive noticed that the blademaster windwalk turns its pathing off( I think) because it can pass between unit groups in wich the units r too close to walk normally, is the blademaster using another thing? or is there a speciall restinction to the pathing so it cant get off the map like my unit? |
| 03-22-2006, 06:15 AM | #2 |
Here is how: Trigger: Unit - Order Unit to Special - ChannelThen to stop channeling: Trigger: Unit - Order Unit to Stop |
| 03-22-2006, 06:24 AM | #3 |
I would prefer not to use another ability(since itll take room in the interface although its not visible rigth?) but thankz, rep for u :) But can someone help me with the second part of my question? Also I got another question: If I want lets say, a crushing wave effect go trougth a line and every unit it touches get stunned I will need to use a dummy unit to cast the stun rigth? Dont forget the second part of my question(at the TOP) plz EDT: u edited thats not fair :p but that looks even better thankz again |
| 03-22-2006, 06:30 AM | #4 |
You're welcome. I find it helpful to check blizzard campaign maps. You can learn so much. Like I found a way to easily detect player in combat. |
| 03-22-2006, 07:18 AM | #5 |
Ok Ive tested and it doesnt work...I think that that trigger: Unit - Order Unit to Special - Channel is used to make the unit cast and ability that it already had, Im talking about channel ability. thankz anyway. I resolved my problem by just replacing the dummy spell I was using with a channeling spell(channel) and it actually looks better than using storm bolt as a dummy. Dont forget about my other questions plz |
| 03-22-2006, 07:28 AM | #6 |
I looked and all you need to do is add the default channel ability, which is hidden and doesn't take up any spell slots |
| 03-22-2006, 07:46 AM | #7 |
yeah I thought so, but I think having a channeling spell as base is better at least for the use im giving to it. Now another question, I used channel as the dummy ability just to get the hero unit to stand still, then I play spell anim and drag an enemy unit near then I play attack and the enemy unit should get a triggered damage, works fine(xcept for some pathing errors) but if I kill the enemy unit my hero doesnt get xperience, so is there a trigger to give the xperience( for killing that enemy or other units killed by my spell) to my unit? AND again plz dont forget my other questions,I say it allways dont hate me :p well I need sleep now, Ive been some hours here... |
| 03-22-2006, 07:48 AM | #8 |
Trigger: Hero - Add 1000 experience to (Triggering unit), Hide level-up graphics |
| 03-22-2006, 12:58 PM | #9 |
It depends how are you triggering damage. If you are decreasing life, no exp or gold for you on kill. If you are using Unit - Damage Target, then everything should work. |
| 03-22-2006, 01:39 PM | #10 | |||
Quote:
U made realise something, thankz, I was actually using UnitDamagePointLoc() but I set the damaging unit as the enemy unit thats why my hero wasnt getting xp and dont forget: Quote:
Quote:
|
| 03-22-2006, 02:01 PM | #11 |
OK... I assume you aren't using Carrion Swarm in map. This way you can use carrion swarm as crushing wave. Carrion Swarm leaves a buff, which you can detect and stun the unit then using dummy unit casting a firebolt. |
| 03-22-2006, 04:23 PM | #12 | |
ok that gave me an idea! thnkz "You must spread some Reputation around before giving it to Jacek again. " sorry cant rep u. and how about: Quote:
|
| 03-22-2006, 04:52 PM | #13 |
How about: JASS:if IsTerrainPathable(GetLocationX(target), GetLocationY(target), PATHING_TYPE_WALKABLE) == true then moveunitblabalabla |
| 03-22-2006, 06:06 PM | #14 |
unfortunately I dont hav my personal computer at hand so I cant test it right now, but I think itll work. u r cool ![]() |
| 03-23-2006, 04:40 AM | #15 |
Nope, doesnt work, when I use the function my unit just remains still it doesnt move anywhere even if there it is inside the limits of the map. HELP PLZ |
