Need help. I have created a spell that makes you invisible and creates an illusion that walks, dies and explodes. I need to destroy icon of that illusion because it's a hero and i try it by removing that illusion from game, but i can't fix it.
- Events
- Unit - A unit enters (Playable map area)
- Conditions
- (Entering unit) Equal to InvisibilityCasterCopy1
- Actions
- Unit - Order InvisibilityCasterCopy1 to Move To ((Random point in Arena Region <gen>) offset by (Random real number between 50.00 and 150.00 )towards (Random real number between 50.00 and 150.00) degrees
- Wait 1.00 seconds
- Unit Group - Pick every unit in (units within 210.00 of (Position of InvisibilityCasterCopy1))and do (Actions)
- Loop - Actions
- Unit - Cause InvisibilityCasterCopy1 to damage (Picked unit), dealing 1.00 damage of attack type Spells and damage type Normal
- Special Effect - Create a special effect at (position of InvisibilityCasterCopy1)using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
- Unit - Kill InvisibilityCasterCopy1
- (DONT KNOW WHAT TO DO HERE)
- Unit - Remove InvisibilityCasterCopy1 from the game
Last edited: