- Joined
- Aug 2, 2008
- Messages
- 374
Ok, im working on volcano spell. It attacks enemies in a certain region and sends volcano meteors down spawning lava spawn. The snag ive run into is when I do
If someone can tell me how to get this to work, itd be helpful.
-
Actions: Unit Group - Pick every unit in (Units in TempRegion matching (((Unit-type of (Picked unit)) Equal to Firelord) and (((Triggering unit) is A Hero) Equal to True))) and do (Actions)
-
Loop - Actions
- Unit - Cause (Triggering unit) to damage circular area after 2.00 seconds of radius 400.00 at (Center of TempRegion), dealing 50.00 damage of attack type Spells and damage type Normal
- Special Effect - Create a special effect at (Center of spawnregion1) using Units\Demon\Infernal\InfernalBirth.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Create (Random integer number between 1 and 1) Lava Spawn (Level 3) for (Triggering player) at (Center of spawnregion1) facing Default building facing degrees
- Special Effect - Create a special effect at (Random point in spawnregion2) using Units\Demon\Infernal\InfernalBirth.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Create (Random integer number between 1 and 1) Lava Spawn (Level 3) for (Triggering player) at (Center of spawnregion2) facing Default building facing degrees
- Special Effect - Create a special effect at (Random point in spawnregion3) using Units\Demon\Infernal\InfernalBirth.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Create (Random integer number between 1 and 1) Lava Spawn (Level 3) for (Triggering player) at (Center of spawnregion3) facing Default building facing degrees
- Special Effect - Create a special effect at (Random point in spawnregion4) using Units\Demon\Infernal\InfernalBirth.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Create (Random integer number between 1 and 1) Lava Spawn (Level 3) for (Triggering player) at (Center of spawnregion4) facing Default building facing degrees
-
Loop - Actions
If someone can tell me how to get this to work, itd be helpful.