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

Usecode for Frenzy?

Status
Not open for further replies.
Level 18
Joined
Nov 1, 2006
Messages
1,612
I'm working on an ability that is similar to bloodlust, but cannot be the same since it must be able to be used at the same time. I found frenzy, which is exactly the same but for some reason will not cast through triggers using Orc Shaman - Bloodlust (Triggering Unit). It must be a different usecode then, correct?

Trigger:

  • lightningfury
    • Events
      • Unit - A unit Begins channeling an ability
    • Conditions
      • (Ability being cast) Equal to Lightning Fury (New- Battle Mage Dummy Ability)
    • Actions
      • Custom script: local location TempPoint = GetUnitLoc(GetTriggerUnit())
      • Custom script: call CreateNUnitsAtLoc( 1, 'h00G', GetOwningPlayer(GetTriggerUnit()), TempPoint, bj_UNIT_FACING )
      • Unit - Turn collision for (Last created unit) Off
      • Unit - Add Lightning Fury (Level 1) to (Last created unit)
      • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
      • Unit - Order (Last created unit) to Orc Shaman - Bloodlust (Triggering unit)
      • Custom script: call RemoveLocation(TempPoint)
      • Custom script: set TempPoint = null
As you can see, everything is fine and if I replace Lightning Fury (level 1) with a bloodlust based ability the trigger works fine, meaning that Frenzy cannot be cast using Orc Shaman - Bloodlust. Anyone know the correct usecode?
 
Level 18
Joined
Nov 1, 2006
Messages
1,612
Oooooooh seriously? It has the ability to autocast though so I figured it could be cast on a unit as well, just how bloodlust can self cast and autocast. Well I suppose I could add it to the triggering unit really quick and cause him to cast it (which is in "issue unit order with no target" I presume?).

UPDATE: Yay I found it!
 
Last edited:
Status
Not open for further replies.
Top