• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Casting an ability with a dummy doesn't work.

Level 3
Joined
Jun 6, 2024
Messages
12
This is drivin me crazy. I'm trying to do the simplest thing. trying to make that a dummy cast but i can't. When Soul Burn is casted the text "Soul Burn" is displayed so the trigger is being executed, nonetheless neither the Stormbolt (unit) is casted neither Soul Burn from the triggering unit (casting is interrupted).
  • Test
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Soul Burn
    • Actions
      • Game - Display to (All players) the text: Soul Burn
      • Unit - Create 1 DummyUnit for Player 1 (Red) at (Position of (Triggering unit)) facing 0.00 degrees
      • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
      • Unit - Add Stormbolt (unit) to (Last created unit)
      • Unit - Set level of Stormbolt (unit) for (Last created unit) to 1
      • Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Target unit of ability being cast)
Can someone explain me why this is happeing? The DummyUnit is correct, i have been usin it from other spells. Stormbolt (unit) doesnt require mana and has very long cast range. Any help will be appreciated!
 
Last edited:
Level 45
Joined
Feb 27, 2007
Messages
5,578
It’s probably a targeting thing like Chaosium suggested since you’re creating the dummy for a static player. But also: some spells cannot be cast on a target you don’t have vision of, even when ordered via trigger. If Player 1’s only unit is that dummy and the dummy doesn’t have a sight radius, then it probably can’t cast on the target.
 
Top