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

Make an Openable/Closable Gate

Level 3
Joined
Oct 24, 2008
Messages
24
First Tutorial - Chat Messages to Open / Close a gate

Requirements:
  • World Editor

Difficult
- Very Easy (1/10)
In this tutorial I will show you how to make a an openable / closable gate by typing -open / -close

It's quite easy, I just didn't find any tutorial showing how to make it, so I decided to make one...

Step 1 - The Gate

- First, you must build a gate anywhere you want in World Editor, after that, open Object Editor and search for the gate you placed in World Editor, then go to the gate's properties and look for "Targeted As..." and uncheck the "Debris" and check the "Invulnerable" - After that your gate is invulnerable and can't be destroyed unless you make an unit capable to attack invulnerable things...

Step 2 - The Triggers

For the Open Gate Trigger - Open your Trigger Editor, make a new trigger, and do the following:

  • Open Gate
    • Events
      • Player - Player 1 (Red) types a chat message containing -open as An exact match
    • Conditions
    • Actions
      • Destructible - Open (Last created destructible)
For the Close Gate Trigger - Open your trigger Editor, make a new trigger and do the following:

  • Close Gate
    • Events
      • Player - Player 1 (Red) types a chat message containing -close as An exact match
    • Conditions
    • Actions
      • Destructible - Close (Last created destructible)
That's all, easy isn't it?

- Second Tutorial: Coming Soon (Open / Close a gate by using a "spell") - Suggested by: TheBlooddancer
 
Last edited:
Top