| 08-30-2004, 04:09 AM | #1 |
Hey Everyone, I'm back if any of you remember me. Anyways, onto my question. I'm making a map that involves players doing things, that they may want to keep to themselves, or prevent others from doing. It's still in early beta so I'm not releasing any details about it yet. Is it possible to make a trigger where, I say, Select A gate, meaning by clicking on it, and if X Conditions are true, the gate opens. If it isn't, the gate doesn't open. I need this because if a player who can open the gate, using the region triggers anyways, accidentally goes near the gate, it will open, giving others access to these areas. I could use a lever or something...I may do that anyways, but is this trigger even possible? |
| 08-30-2004, 04:30 AM | #2 |
I suppose so...... it might be...... yes. if you dont mind making a unit that looks like a door (ie a tower thats had its world rocked into beang a clone of a door) then you could in theory make it replace this with a walkable unit when it is clicked on by x player. this is all very theoretical, but as long as they both use a pathing map it should work fine. i would reccomend that you just make a trigger that opens the door if a unit owned by player a enters region x, but overrides and slams shut when player b goes anywhere near the door. |
| 08-30-2004, 04:33 AM | #3 |
Selection refers to units only; so you would need some kind of unit there for example an obelisk. E: Unit owned by neutral passive is selected. C: Unit type = to obelisk, and Triggering player is Red 1. A: If( YOUR Conditions are true ) Then( Open the gate ) Else (Do Nothing ) |
| 08-30-2004, 04:40 AM | #4 |
Alright. Thanks guys for your help. Although, I think I'm going to go with the lever idea, just for the fact that it will take me less time, because I will have tons of gates... I'll have it so that the gate only opens when a certain player attacks the lever. Though, It's good to know I wasn't an idiot and couldn't find the trigger. Thanks! |
