• 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] annoying problem with circle of healing

Status
Not open for further replies.

  • Circle of Healing
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Circle of Healing (Priest)
    • Actions
      • Set Priest_HC_Loc = (Target point of ability being cast)
  • Circle of Healing finish
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • (Ability being cast) Equal to Circle of Healing (Priest)
    • Actions
      • Unit - Create 1 Dummy_Holy_Circle (Priest) for (Owner of (Casting unit)) at Priest_HC_Loc facing Default building facing degrees
      • Set Priest_Circle = (Last created unit)
      • Custom script: call RemoveLocation(udg_Priest_HC_Loc)
      • Countdown Timer - Start Timer_Priest_HC as a One-shot timer that will expire in 15.00 seconds
  • Circle of Healing Expire
    • Events
      • Time - Timer_Priest_HC expires
    • Conditions
    • Actions
      • Unit - Remove Priest_Circle from the game

Pls someone tell me why the circle of healing does not appear when I cast?

and don't tell me to put generic expiration timer on the unit becase it's not working i tried!
 
Level 12
Joined
Nov 3, 2013
Messages
989
Try setting the location and creating the unit in the same trigger, I don't get why you even have two. Target point of ability being cast would give the same location in either of the triggers so the first one is useless.

Not sure it will fix your problem but it defenitly won't make it worse
 
This is not a triggering issue. You need to check the model you are using (scale, tinting and whether it is actually visible in the World Editor - perhaps your texture paths are not correct, if it's a custom model).

Also, optimize your trigger:

  • Circle of Healing
  • Events
    • Unit - A unit starts the effect of an ability
  • Conditions
    • (Ability being cast) Equal to Circle of Healing
  • Actions
    • Set Temp_Loc = (Target Point of ability being cast)
    • Unit - Create 1 Dummy_Holy_Circle (Priest) for (Owner of (Triggering unit)) at Temp_Loc facing Default building facing degrees
    • Unit - Add a 15.00 seconds expiration timer to (Last created unit)
    • Custom script: call RemoveLocation (udg_Temp_Loc)
 
  • Circle of Healing Expire
    • Events
      • unit stops casting an ability
    • Conditions
    • Actions
      • Unit - Remove Priest_Circle from the game
      • Custom script: call RemoveLocation(udg_Priest_HC_Loc)

Yeah, that's an issue actually. In the case of instant spells finishes casting is almost identical to stops casting. Therefore, you should remove it.

To explain better, finishes casting is working at its full potential in channeling abilities and it means that the spell was not interrupted. Stops casting means that the channeling spell was interrupted, either by stun or knockback or manual press of Stop command, by the player.

@aple, I think that's a targeted ability, no?
 
Status
Not open for further replies.
Top