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

Trigger/Spell help, TreeWall

Status
Not open for further replies.

Chuckieboii

C

Chuckieboii

Hello, i could use some help with creating a trigger for a spell im calling "Tree Wall" which is supposed to pop up trees behind u when you run which then will dissapear in about 5 seconds. The thing i actually need help with is how to place the trees BEHIND me while im running. At the moment the trees are just popping up at the location of the caster. This is pushing the caster away and placing the tree's randomly.
 
^You have a leak there and the wait fcuks things up :)

  • TSB Start
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Tree Behind
    • Actions
      • Set Caster = (Triggering unit)
      • Set p1 = (Position of Caster)
      • Set p2 = (p1 offset by 150.00 towards ((Facing of Caster) - 1.00) degrees)
      • Destructible - Create a Summer Tree Wall at p2 facing (Random angle) with scale 1.00 and variation 0
      • Custom script: call RemoveLocation(udg_p1)
      • Custom script: call RemoveLocation(udg_p2)
I can create the whole spell.
 
Status
Not open for further replies.
Back
Top