- Joined
- Dec 8, 2008
- Messages
- 4,371
Hey guys.
I've tried out this tutorial Link out several times now, but it never worked for me.
I copied everything exactly, checked everything a few times now. The unit triggers the action, it makes the attack animation bot nothing happens after that.
No damage, nothing.
Can anyone explain that?
I've tried out this tutorial Link out several times now, but it never worked for me.
I copied everything exactly, checked everything a few times now. The unit triggers the action, it makes the attack animation bot nothing happens after that.
No damage, nothing.
Can anyone explain that?
-
Melee
-
Ereignisse
- Einheit - A unit starts the effect of a ability.
-
Bedingungen
- (Ability being cast) equal Meele Attack
-
Aktionen
- -------- I'll create some variables at first to make things easier. --------
- Set MeleeCaster = (Triggering unit)
- Set MeleePoints[1] = (Position of MeleeCaster)
- Set MeleePoints[2] = (MeleePoints[1] offset by 50.00 towards (Facing of MeleeCaster) degrees)
- -------- Now let's create a dummy to cast the damage that we has just created. --------
- Einheit - Create 1 Dummy for (Owner of MeleeCaster) at MeleePoints[2] facing Vorgabe für Gebäude-Ausrichtung degrees
- Set MeleeDummy = (Last created unit)
- -------- I'm adding expiration time to make it disappear after 0.5 second, and give it an ability. --------
- Einheit - Add a 0.50 second Standard expiration timer to MeleeDummy
- Einheit - Add Meele Attack to MeleeDummy
- -------- It's time to cast them! So let's add this action. --------
- Einheit - Order MeleeDummy to Nachtelf-Wächterin - 'Dolchfächer'
- -------- Time to remove leaks in order to prevent ingame lags. --------
- Custom script: call RemoveLocation(udg_MeleePoints[1])
- Custom script: call RemoveLocation(udg_MeleePoints[2])
- -------- You're done! --------
- -------- Q: Why do you use Warden - Fan of Knives ability to order dummy cast spells? --------
- -------- A: Because we the melee damage spell was based from Fan of Knives. --------
-
Ereignisse
Attachments
Last edited: