| 08-16-2004, 07:46 AM | #1 |
Anybody know how to prevent Impale from removing Special Effects created on a unit? Thanks. |
| 08-16-2004, 08:57 AM | #2 |
Hmm i never knew it does, but i guess you have to recreate the sfx on the inpaled units. |
| 08-16-2004, 09:32 AM | #3 | |
Quote:
How do I know which units are impaled? The "attacking unit" function does not work for units that are attacked by a spell. |
| 08-16-2004, 09:58 AM | #4 |
I imagin its possible through JASS, but if you dont know jass then there is a event in WEU that allows the game to detect when a unit is being the target of spells or abilities, but its still quite and advanced process because you'll need to have the advanced trigger initilization action in the initialization proccess of the map. |
| 08-16-2004, 10:14 AM | #5 |
Wait my bad, i found a way through the normal WE i think. But at this present time i can only think of a way for the special effect to be recreated on the targeted unit. If there is no targeted unit then it will not work. Code:
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Impale
Actions
Set UNIT_VAR = (Target unit of ability being cast)
Special Effect - Create a special effect attached to the overhead of UNIT_VAR using Abilities\Spells\Other\TalkToMe\TalkToMe.mdlBut another suggestion would be to make the spell a trigger spell. That way the SFX wouldn't be removed. ![]() |
| 08-16-2004, 10:59 AM | #6 | ||
Quote:
But what about the other units caught in the line of fire? Quote:
What do you mean a trigger spell? |
| 08-16-2004, 11:37 AM | #7 |
As i said it would only work if there was 1 targeted unit. But if you really need it they you'll have to use JASS. Trigger spell is basically a spell made using triggers. If you need help making one, i'm always here. ![]() I think making the impale spell through trigs shouldn't be too hard. |
| 08-16-2004, 04:02 PM | #8 |
Use sphere to attach... |
| 08-16-2004, 06:42 PM | #9 | |
Quote:
Could you explain? |
| 08-17-2004, 05:45 AM | #10 |
I think he means to change the sphere ability's mdl to the sfx mdl then give the unit the sphere ability. I'm pretty sure that's what he means. ![]() |
| 08-17-2004, 12:59 PM | #11 |
The bloodmage has an ability called sphere. Its used to attach the orbs above his head. Copy the skill and change the attach points and the model. |
