- Joined
- May 9, 2009
- Messages
- 735
I am trying to make a spell like parasite which only deals initial damage instead of damage overtime and that spawns a unit after some time and not upon targeted units death.
I tried triggering the thing and it seemed like a simple trigger but I am having problems using the wait action. Everything works without waiting, but I need some time to pass before the unit spawns and basically every string after the wait action are ignored and never acted out.
Here's what I have so far and everything before wait is acted out no problem.
I tried triggering the thing and it seemed like a simple trigger but I am having problems using the wait action. Everything works without waiting, but I need some time to pass before the unit spawns and basically every string after the wait action are ignored and never acted out.
Here's what I have so far and everything before wait is acted out no problem.
-
Pregnancy
-
Events
- Unit - A unit Begins casting an ability
-
Conditions
- (Ability being cast) Equal to Parasite
-
Actions
- Sound - Play WardenDeath1 <gen> at 100.00% volume, attached to (Target unit of ability being cast)
- Unit - Cause (Casting unit) to damage (Target unit of ability being cast), dealing 60.00 damage of attack type Spells and damage type Normal
- Special Effect - Create a special effect attached to the overhead of (Target unit of ability being cast) using Objects\Spawnmodels\Human\HumanBlood\BloodElfSpellThiefBlood.mdl
- Wait 6.00 seconds
- Unit - Remove All buffs from (Target unit of ability being cast)
- Special Effect - Create a special effect attached to the base of (Target unit of ability being cast) using Objects\Spawnmodels\Human\HumanLargeDeathExplode\HumanLargeDeathExplode.mdl
- Unit - Create 1 Daemonic Whelp (food) for (Owner of (Casting unit)) at (Position of (Target unit of ability being cast)) facing Default building facing degrees
-
Events