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

[Solved] Help with gateway ability

Status
Not open for further replies.
Level 22
Joined
Feb 3, 2009
Messages
3,292
I have a Portal building which has a spell Set Portal, this spell should set the way gate destination to target point of spell casted and add 15 seconds expiration timer to the building. But it doesn't work.
The building has the Waygate ability.

  • Set Gate Portal
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Set Portal
    • Actions
      • Region - Center PortalLoc <gen> on (Target point of ability being cast)
      • Neutral Building - Set (Triggering unit) destination to (Center of PortalLoc <gen>)
      • Unit - Create 1 Bombard [ Warn Dummy] for (Owner of (Triggering unit)) at (Target point of ability being cast) facing Default building facing degrees
      • Unit - Add a 30.00 second Generic expiration timer to (Last created unit)
      • Unit - Add a 30.00 second Generic expiration timer to (Triggering unit)
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
Why do you need the region for?

->

  • Untitled Trigger 010
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Set Target Point
    • Actions
      • Neutral Building - Set (Triggering unit) destination to (Target point of ability being cast)
      • Unit - Create 1 Footman for (Triggering player) at (Target point of ability being cast) facing Default building facing degrees
      • Unit - Add a 5.00 second Generic expiration timer to (Triggering unit)
      • Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
^leaks
 
Status
Not open for further replies.
Top