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

Asking trigger spell

Status
Not open for further replies.
Level 3
Joined
Jan 13, 2008
Messages
28
need help for creating multi fire ball or multi ice ball or multi corruption ball and etc. all the spells are "Fire bolt" or "Mountain king storm bolt" ye whatever
i have created one trigger but it doesnt work
 
Level 18
Joined
Aug 23, 2008
Messages
2,319
You need to place your trigger in order for us to be able to see what's wrong with it.

Also I think you best pick another thread title next time. Nobody here likes to give complete triggers unless it's in the Request section and then you have to give credits. You can just ask for help if a trigger you made doesn't work, but please don't ask for people to make complete triggers for you for nothing. We're not slaves, we're here to help people who encounter 'challenges' while making their maps.
 
Level 3
Joined
Jan 13, 2008
Messages
28
Here comes the trigger

  • Remove Dummy Fire bolt Caster
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Multi Fire Bolt Dummy Caster
    • Actions
      • Wait 2.00 seconds
      • Unit - Remove (Casting unit) from the game

  • Dummy Multi Fire Bolt
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Unit - Create 1 Dummy Fire Bolt Caster for (Triggering player) at (Position of CastingUnit) facing Default building facing degrees
      • Wait 0.99 seconds
      • Unit - Order (Last created unit) to Human Mountain King - Storm Bolt FireBoltTarget

  • Multi Fire Bolt
  • Multi Fire Bolt
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Multi Fire Bolt
    • Actions
      • Trigger - Turn on Dummy Multi Fire Bolt <gen>
      • Wait 4.00 seconds
      • Trigger - Turn off Dummy Multi Fire Bolt <gen>

  • Variable
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Multi Fire Bolt
    • Actions
      • Set FireBoltTarget = (Target unit of ability being cast)
      • Set CastingUnit = (Casting unit)

(-Variables-) "FireBoltTarget = Unit", "CastingUnit = Unit"
 
Level 28
Joined
Mar 25, 2008
Messages
2,955
First trigger: (Casting Unit) might not work after a wait - use (Triggering Unit)
In addition, just put an expirationtimer to the (Triggering Unit) to get rid of t automatically
Second trigger: (Position of (Casting Unit)) leaks.
Set up a point variable i.e.
  • Set temppoint = (Position of (Triggering Unit))
and destroy it after using it via
  • Custom script: call RemoveLocation(udg_temppoint)
Fourth trigger:
Useless as the variables you've set up aren't used
 
Status
Not open for further replies.
Top