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

Where is the Used footswitch?

Status
Not open for further replies.
Level 9
Joined
Aug 11, 2007
Messages
429
Well I'm making a gate, and I need the model file of the opened gate to be the Dead Footswitch... Any ideas?
 
Level 9
Joined
Aug 11, 2007
Messages
429
No you don't get it.

On the closed gate, when you click the ability "Open Gate", the gate should be replaced by the footswitch (Dead), and have 0.00 collision...
 
Level 14
Joined
Nov 4, 2006
Messages
1,241
  • Events
    • Unit - a Unit finishes the effect of an ability
  • Conditions
    • ability being cast equal to (open gate)
  • Actions
    • Destructable - remove <your gate> from the game
    • Destructable - create footswitch at position of <yourgate>
    • set footswitch = last created destructable
    • Destructable - kill footswitch
you have to store the gate and the footswitch in a variable in order to being able to open and close the gate, this trigger leaks a region
 
Status
Not open for further replies.
Top