• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Plz help with these triggers!

Status
Not open for further replies.
Level 4
Joined
Oct 12, 2004
Messages
59
I have 4 triggers to open gates. all exactly the same except different gates and rects and 2 are players 7,8,9,10,11,12 for the conditions. Then i have 4 to close them all exactly the same as the one here but different gates and rects. Thx

Also wtf is a rect there used to be regions.

1.Events
Unit - A unit enters (Convert East First Gate <gen> to a region)


Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
(Owner of (Triggering unit)) Equal to Player 3 (Teal)
(Owner of (Triggering unit)) Equal to Player 4 (Purple)
(Owner of (Triggering unit)) Equal to Player 5 (Yellow)
(Owner of (Triggering unit)) Equal to Player 6 (Orange)


Actions
Destructible - Open City Entrance 0030 <gen>

------------------------------------------------------

2.Events
Unit - A unit leaves (Convert East First Gate <gen> to a region)

Conditions

Actions
Destructible - Close City Entrance 0030 <gen>
 
Level 3
Joined
Sep 29, 2004
Messages
44
make a region aroudn the gate and use that as the thing for the entering / leaving and it should work
 
Level 4
Joined
Oct 12, 2004
Messages
59
there is no unit enters region event anymore...

its, unit enters(convert rect to region)...

EDIT: o yeah im also using WE Unlimited
 
Level 6
Joined
May 5, 2004
Messages
232
Why are you people using World Edtior Unlimited... That's bugging me...

Anyways, for the close gate thingy, put a region in front of the gate, make a trigger for it to open:

Event - A unit enters *your region*

Conditions - *your conditions*

Actions - Open *your gate*

After that, put a second region, on the other side of the door, and:

Event - A unit enters *your region*

Conditions - *your conditions*

Actions - Close *your gate*

It just must work.
 
Status
Not open for further replies.
Top