• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

levers

Status
Not open for further replies.
Level 6
Joined
Apr 8, 2009
Messages
131
Hellow I am wondering if anyone can help me with this:
So when you kill the right lever it opens the force field and when u passed it it comes back.
And the other lever, when you hit it, you die instantly.

And make the lever that opens the force field you wont be able to attack it untill you have passed the force field.

Picture
levert.jpg


I hope you understand


+Rep
 
Level 16
Joined
Jul 21, 2008
Messages
1,121
If you want this to work, do following:

1. Base your ''Force Field'' on destructible
2. Create one Region under your force field (from one wall to another)
- Something like this:
58234d1245487076-levers-region.jpg


3. Implement these triggers:
  • Open Gate
    • Events
      • Destructible - <Open Gate Lever> dies
    • Conditions
    • Actions
      • Destructible - Kill <Force Wall>
  • Close Gate
    • Events
      • Destructible - <Close Gate> dies
    • Conditions
    • Actions
      • Destructible - Resurrect <Force Wall> with (Max life of (Last created destructible)) life and Hide birth animation
      • Destructible - Resurrect <Close Gate Lever> with (Max life of (Last created destructible)) life and Hide birth animation
  • Open Gate Again
    • Events
      • Unit - A unit enters <Force Wall Region>
    • Conditions
    • Actions
      • Destructible - Resurrect <Open Gate Lever> with (Max life of (Last created destructible)) life and Hide birth animation
 

Attachments

  • Region.JPG
    Region.JPG
    22.5 KB · Views: 147
Level 6
Joined
Apr 8, 2009
Messages
131
Thanks, it works ;) rep+


Edit: and whats it the trigger for when you kill the other lever you die instantly?
And when the ForceWall revives, it's invisible but you can't pass it. Why can't you see it?
  • Open Gate
    • Events
      • Destructible - <Open Gate Lever> dies
    • Conditions
    • Actions
      • Destructible - Kill <Force Wall>
  • Close Gate
    • Events
      • Unit - A unit enters ForceWall <gen>
    • Conditions
    • Actions
      • Wait 1.00 seconds
      • Destructible - Resurrect Open Gate lever <gen> with (Max life of Open Gate lever <gen>) life and Hide birth animation
      • Destructible - Resurrect Force Wall <gen> with (Max life of Force Wall <gen>) life and Hide birth animation
 
Last edited:
Status
Not open for further replies.
Top