• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[Spell] Need help with an Ability

Status
Not open for further replies.
Level 8
Joined
Jul 17, 2004
Messages
283
I'm referencing the "Feral Impact" ability from this map:

http://www.hiveworkshop.com/forums/spells-569/barbarian-skills-1-1-a-184927/

I just have a couple issues with it. I need some assistance.

1. The knockback also affects corpses. I don't want it to do this. Just units.
2. How do I make it so the camera only shakes for the player who owns the unit using the ability?

Here are the triggers:
http://www.hiveworkshop.com/forums/pastebin.php?id=aiftb9
http://www.hiveworkshop.com/forums/pastebin.php?id=1swxpz
http://www.hiveworkshop.com/forums/pastebin.php?id=b16xle
http://www.hiveworkshop.com/forums/pastebin.php?id=2ezat3
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,202
1. The knockback also affects corpses. I don't want it to do this. Just units.
Where the trigger filters against structures for knockback...
((Picked unit) is A structure) Equal to (==) False
Add a check if the unit is alive.

2. How do I make it so the camera only shakes for the player who owns the unit using the ability?
You should remove that part of the ability. It currently is a significant waste of resources as it never seems to be turned off. If you want it to only work for the caster then you will need to change how the camera shake is done so it conveys the player information.
 
Status
Not open for further replies.
Top