• 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.

[Trigger] Need help with Rikimaru's Smoke bomb

Status
Not open for further replies.
I created my new trigger similar to Riki's Smoke bomb
  • Smoke Bomb
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Smoke Bomb
    • Actions
      • Set General_Point3 = (Target point of ability being cast)
      • Unit - Create 1 Generic Dummy for (Owner of (Triggering unit)) at General_Point3 facing Default building facing degrees
      • Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
      • Unit - Add Smoke Effect to (Last created unit)
      • Unit - Set level of Smoke Effect for (Last created unit) to (Level of Smoke Bomb for (Triggering unit))
      • Unit - Order (Last created unit) to Human Dragonhawk Rider - Cloud General_Point3
      • Special Effect - Create a special effect at General_Point3 using Abilities\Spells\Human\CloudOfFog\CloudOfFog.mdl
      • Special Effect - Destroy (Last created special effect)
      • Custom script: call RemoveLocation (udg_General_Point3)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Check_Debug Equal to True
        • Then - Actions
          • Game - Display to (All players) the text: Smoke bomb Check
        • Else - Actions
I've set the dummy ability (Smoke Effect) targets allowed to Air,Alive,Enemy,Ground,Invulnerable,Vulnerable

I can't seem to find the problem.. whenever I started to use the ability in team 1.. it works perfectly fine.. but when I use the ability in team 2... the effect only affects team 2.. I hope someone can help me with this..
 
Level 5
Joined
Aug 20, 2015
Messages
133
This ability is written like crap, and i mean literally (like Holy Light, hardcoded, we cant change targets)
IceFrog faced same problems one day, so i sugges to find open dota and trying to grab any info from there
 
Status
Not open for further replies.
Top