- Joined
- Oct 24, 2008
- Messages
- 24
First Tutorial - Chat Messages to Open / Close a gate
Requirements:
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:
- Second Tutorial: Coming Soon (Open / Close a gate by using a "spell") - Suggested by: TheBlooddancer
Requirements:
- World Editor
Difficult- Very Easy (1/10)
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)
-
Events
-
Close Gate
-
Events
- Player - Player 1 (Red) types a chat message containing -close as An exact match
- Conditions
-
Actions
- Destructible - Close (Last created destructible)
-
Events
- Second Tutorial: Coming Soon (Open / Close a gate by using a "spell") - Suggested by: TheBlooddancer
Last edited: