- Joined
- Jul 10, 2014
- Messages
- 2
Hello guys,
I'm new to this and I wanted to create some spells with the Trigger-Editor. I guess I finished the Triggering but the spell doesn't work.
The skill:
The skill should create "Level of the Spell" + "Level of another Spells" Dummies. Each Dummy should spawn on a random point all over the playable maparea. Then the Dummies should attack the target of ability being cast with a spell.
The Trigger:
Start:
Unit - A unit starts an ability
Need:
(Ability being cast ) = Arkanpfeile
Action:
Set Counter_Arkanpfeil[(Player number of (Owner of (Triggering unit)))] = "Level of Arkanpfeile" for Triggering unit + "Level of Aiming" for Triggering unit
Wait 0.35 seconds
For each (integer A) from 1 to Counter_Arkanpfeil[(Player number of (Owner of (Triggering unit)))] do (Actions)
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at (Random point
in (Playable Map Area))
Unit - Add a 3 second Standard expiration timer to (last created unit)
Unit - Add Arkanpfeile (Dummy) to (Last created unit)
Unit - Set level of Arkanpfeile (Dummy) for (last created unit) to (Level
of Arkanpfeile for (Triggering unit))
Unit - Order (Last created unit) to Human-Mountainkind - Stormbolt
(Target unit of ability being cast)
The Problem:
The skill creates always just 1 Dummy who casts a spell. The number doesn't increase with the level of the ability.
The Dummy-Spell got max range, no mana costs and no cds. It can target all the units.
So I hope you could tell me how I can fix the problem with the skill. I'm sorry as I didn't know how to import triggers. That's why I had to write them down.
Thank you very much for your help
Greetings
I'm new to this and I wanted to create some spells with the Trigger-Editor. I guess I finished the Triggering but the spell doesn't work.
The skill:
The skill should create "Level of the Spell" + "Level of another Spells" Dummies. Each Dummy should spawn on a random point all over the playable maparea. Then the Dummies should attack the target of ability being cast with a spell.
The Trigger:
Start:
Unit - A unit starts an ability
Need:
(Ability being cast ) = Arkanpfeile
Action:
Set Counter_Arkanpfeil[(Player number of (Owner of (Triggering unit)))] = "Level of Arkanpfeile" for Triggering unit + "Level of Aiming" for Triggering unit
Wait 0.35 seconds
For each (integer A) from 1 to Counter_Arkanpfeil[(Player number of (Owner of (Triggering unit)))] do (Actions)
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at (Random point
in (Playable Map Area))
Unit - Add a 3 second Standard expiration timer to (last created unit)
Unit - Add Arkanpfeile (Dummy) to (Last created unit)
Unit - Set level of Arkanpfeile (Dummy) for (last created unit) to (Level
of Arkanpfeile for (Triggering unit))
Unit - Order (Last created unit) to Human-Mountainkind - Stormbolt
(Target unit of ability being cast)
The Problem:
The skill creates always just 1 Dummy who casts a spell. The number doesn't increase with the level of the ability.
The Dummy-Spell got max range, no mana costs and no cds. It can target all the units.
So I hope you could tell me how I can fix the problem with the skill. I'm sorry as I didn't know how to import triggers. That's why I had to write them down.
Thank you very much for your help
Greetings