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

[Spell] FlamingArrows is not in the "Issue Order targeting a unit"-Action?

Status
Not open for further replies.
Level 28
Joined
Sep 26, 2009
Messages
2,520
Didn't see it on first glance in the menu, so if it's not there, you can use custom script:
  • Custom script: call IssueTargetOrderBJ(CASTER, "flamingarrowstarg", TARGET)
Replace CASTER and TARGET with either variable or function call of the casting unit and targeted unit.

I'll use unit variables u1 and u2 as an example:
  • Custom script: call IssueTargetOrderBJ(udg_u1, "flamingarrowstarg", udg_u2)
 
Level 28
Joined
Sep 26, 2009
Messages
2,520
it's nothing hard lol, just copy'n'paste... if you use variables in custom script, just make sure they have udg_ prefix in the custom script.
e.g. a variable named u1 has to be "udg_u1" in custom script.


Edit: for what you must write... you can either save those units beforehand into variables - e.g.
  • Set u1 = (Attacking unit)
  • Set u2 = (Triggering unit)
  • Custom script: call IssueTargetOrderBJ(udg_u1, "flamingarrowstarg", udg_u2)
Or as a function call:
GetTriggerUnit() = Triggering unit
GetAttacker() = Attacking unit

So then it would be:
  • Custom script: call IssueTargetOrderBJ(GetAttacker(), "flamingarrowstarg", GetTriggerUnit())
 
Level 28
Joined
Sep 26, 2009
Messages
2,520
Hmm there may be something wrong then - does the target take increased damage from the arrow? If not, then the caster did not use flamingarrows.

I made my own test triggers and all worked fine, so I don't know where the problem could be.
Can you post your trigger?
 
Level 7
Joined
May 29, 2011
Messages
237
  • Firespears
    • Ereignisse
      • Einheit - A unit be attacked
    • Bedingungen
      • (Level of Firespears for (Attacking unit)) bigger then gleich 1
    • Aktionen
      • Set FirespearsCaster = (Attacking unit)
      • Set FirespearsTarget = (Attacked unit)
      • Custom script: call IssueTargetOrderBJ(udg_FirespearsCaster, "flamingarrowstarg", udg_FirespearsTarget)
Some important notes:

-The cooldown of the ability is 30 seconds. This cooldown work. It needs 30 seconds then for the next cast. Also this works.
-Graphicprojectile and Damage doesnt work.
 
Level 28
Joined
Sep 26, 2009
Messages
2,520
The trigger looks okay, so the problem is most likely not there.
I'm at a loss as to what could be the problem.
The only thing that comes to my mind is that the Caster has another (Passive?) ability which collides/replaces the flaming arrow or that the Firespears ability is not based off Searing Arrows (though this is less likely to be the case)
 
Status
Not open for further replies.
Top