• 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 faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Event for resurrection?

Status
Not open for further replies.
Level 28
Joined
Mar 25, 2008
Messages
2,955
ohai :)
i'm using a resurrection ability for a unit which shall move to a certain point after being resurrected but i neither can find the right event for that (unit starts the effect of an ablity doesn't seem to work)
My trigger (if needed) is like this:
  • res
    • Events
      • Unit - A unit starts the effect of an ability
    • Conditions
      • (Red <gen> contains (Triggering unit)) Equal to True
      • (Ability being cast) Gleich Resurrection
    • Actions
      • Set split_tmppkt = (Center of Red wp11 <gen>)
      • Unit - Order (Triggering unit) to Move to split_tmppkt
      • Custom script: call RemoveLocation(udg_split_tmppkt)
What's wrong with this?

ah well, someone move this please into the triggersection >.<
 
Level 28
Joined
Mar 25, 2008
Messages
2,955
What kind of ability is it?

Auto-cast abilities does not work with it, I think.
It's 'resurrection' and therefore (i suppose) passive.

Eleandor said:
Try "Unit finishes casting an ability"

It's possible that by using that event you lose your point variable though... Not sure.
I tried - yet no success.

I solved part of it using a "Create 1 unit-type of dying unit at *position-bla* facing bla". It doesn't look so pretty but it works ^^
 
Status
Not open for further replies.
Top