• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Help with a spell

Status
Not open for further replies.
Level 7
Joined
Jul 12, 2008
Messages
295
I need help with a spell so when i cast it treants to circle the targeted unit so the targeted unit cannot escape from its location
 
äm i think you must create 1 more variable with an interger and 1 variable with an destruktibel and then do like this

  • Aktionen
    • Set temploc = (Target point of ability being cast)
    • For each Integer A from 1 to 10 do
      • Destructible - Create 1 *Destructible* at temploc offset by x towards ((x + 36) degrees) degrees
      • Set x = x + 36
      • Set tree_counter = (tree_counter + 1)
      • Set tree[tree_counter] = (Last created destructible)
 
Last edited:
äm and at a experation timer to the units sorry that i dont post it in a trigger field because i dont know how i can post it in a trigger field^^
it's simple; just use the 'trigger'-tags (
folder.gif
) on your actual trigger (advanced replay)
 
ok thx now i can post it
  • Aktionen
    • Set temploc = (Target point of ability being cast)
    • For each Integer A from 1 to 10 do
      • Set x = x + 36
      • Unit - Create 1 treant for (Owner of (Casting unit)) at temploc offset by x towards ((x + 36) degrees) degrees facing (Target point of ability being cast)
      • Unit - Add a 10.00 second Standard expiration timer to (Last created unit)
 
Last edited:
Status
Not open for further replies.
Back
Top