| 03-12-2005, 01:22 AM | #1 |
how do u open a gate when a hero walks by? or make it incurable for a certain time |
| 03-12-2005, 02:28 AM | #2 |
Guest | that is possibley the most vague post I've ever read... |
| 03-12-2005, 02:49 AM | #3 |
ok there is a gate how do u keep it open and close at certain times?? or ive seen someone make a gate and have it invulnerable for a certain amount of time then it was destryable... can anyone tell me how to do these? |
| 03-12-2005, 03:26 AM | #4 |
Guest | I believe the opening/closing depends on whether or not you/allies own the gate. To make it invulnerable, make a trigger for it. If you wanted it invulnerable for the first 5 mins of the game, make a trigger that starts on the event passed game time is .01seconds, then for actions do a unit - Make Vulnerable/Invulnerable and for the unit select select unit and pick your gate on the map. When you want to make it destroyable again, at the end put a wait timer for lets say 600seconds(10minutes) and do the same unit - Make Vulnerable/Invulnerable, but set it at vulnerable. |
| 03-12-2005, 04:14 AM | #5 | |
Quote:
So was that.... |
| 03-12-2005, 04:22 AM | #6 | |
Quote:
most people will do this with a region, though its possible to do many other ways basically the most basic outline is make a region around the gate, a boolean bGateOpened (optional i suppose) event - unit enters region X conditions - unit owned by player (if wanted) bGateOpened = false actions - set bGateOpened = true destructable - open gate (or whatever its called) event - unit leaves region X conditions - units in region X owned by player (if wanted) == 0 bGateOpened = true actions - set bGateOpened = false destructable - close gate |
| 03-13-2005, 08:25 AM | #7 |
? lol dun know jack about triggers |
| 03-16-2005, 06:42 PM | #8 |
Guest | eclipse, i dont mean to be rude or anything, but if you dont even know THAT, then you are way out of your league. Figure out how they work. I am a newbie here myself, and of course i ask stupid questions also, but if you dont know how the triggers work, then we cant help you. I'm sorry |
