- Joined
- Feb 3, 2009
- Messages
- 3,292
Hello, so in several of my spells I create a dummy caster for the owner of the player who used the spell and then have the dummy use a dummy ability.
It works all good and fine for players, but neutral hostile refuses to cast these dummy spells with their dummy units.
Is there a way to fix this?
An example of a spell with this issue:
It works all good and fine for players, but neutral hostile refuses to cast these dummy spells with their dummy units.
Is there a way to fix this?
An example of a spell with this issue:
-
Eruption of Volcano
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Eruption of Volcano
-
-
Actions
-
Set TempLoc = (Target point of ability being cast)
-
Unit - Create 1 Volcano's Dummy for (Owner of (Triggering unit)) at TempLoc facing Default building facing degrees
-
Set TempUnit = (Last created unit)
-
Unit - Add Volcano Firelord Dummy to TempUnit
-
Unit - Set level of Volcano Firelord Dummy for TempUnit to (Level of Eruption of Volcano for (Triggering unit))
-
Unit - Order TempUnit to Neutral Fire Lord - Volcano TempLoc
-
Unit - Add a 30.00 second Generic expiration timer to TempUnit
-
Sound - Play HeroFirelordYesAttack2 <gen>
-
Custom script: call RemoveLocation(udg_TempLoc)
-
Custom script: set udg_TempUnit = null
-
-