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

Target point of ability being cast fail

Status
Not open for further replies.
Level 6
Joined
Apr 23, 2011
Messages
182
I dont know why Or the Point is not register or the dummy unit does not apper like 1 OUT of 5-6 times casting the spells. But The cd_human_real[1] counts soo the ability works all the times till the point of ::

¡¡¡Set punto_human[3] = (Target point of ability being cast)!!!

Please help. I dont know if its just GUI or something really wrong with this.

Also i am using :: Farsight ability as the dummy ability for getting the point.


  • Suriken humano
    • Acontecimientos
      • Unidad - A unit Inicia el efecto de una habilidad
    • Condiciones
      • (Ability being cast) Igual a Suriken humano
      • cd_human_real[1] Menor que o igual a 0.00
    • Acciones
      • Custom script: call RemoveLocation (udg_punto_human[3])
      • Set cd_human_real[1] = cd_human[1]
      • Set punto_human[2] = (Position of (Triggering unit))
      • Set punto_human[3] = (Target point of ability being cast)
      • Unidad - Create 1 Dummy01 ( escala 1.5 ) for Jugador 1 (rojo) at punto_human[2] facing punto_human[3]
      • Unidad - Add a 10.00 second Genérico expiration timer to (Last created unit)
      • Unidad - Add Shadow Shuriken (verdadero) to (Last created unit)
      • Unidad - Order (Last created unit) to Orco Jefe Tauren: Onda expansiva punto_human[3]
      • Custom script: call RemoveLocation (udg_punto_human[2])
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • Si: Condiciones
          • (Number of living Sombra de Ilidan (sombra) units owned by Jugador 1 (rojo)) Mayor que o igual a 1
        • Entonces: Acciones
          • Detonador - Run Suriken sombra humano <gen> (ignoring conditions)
        • Otros: Acciones
Feel free to ask if you have some questions about the trigger sadly is in spanish-english thanks to amazing blizzard :)
 
Level 6
Joined
Apr 23, 2011
Messages
182
Sorry, what's exactly not working?

Add "Display Text" actions between the actionsm, so you can see if the trigger runs and/or where it stopps.

If even your last debug message is displayed you know all is running well, so it must be an other problem.

The problem is not a normal bug. I mean.... Is performing well like 3,4,5 times and then a bug. Then again 3,4,5 like soo ramdom and again the bug.


When the bug happens the dummy does not fire the dummy ability. Soo i cant just see how my hero does the spell animation without doing anything.


Unidad - Order (Last created unit) to Orco Jefe Tauren: Onda expansiva punto_human[3] I need this in order to work.

Will try the display text but i am starting to think that has to do with the ability itself.
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
I'm not sure if that's the case here, but one thing to check is an annoying behaviour with some point-target abilities: you can target many of them on units to have them fire at the point the unit is under. However, in this case they'll return a targeted unit event response and not a targeted point. You should have your trigger check to see if a targeted unit exists, if so use its position, and if not use the targeted point. If that doesn't fix it that'll at least rule out the most obvious potential cause of the bug.
 
Status
Not open for further replies.
Top