Warcraft III resources & community, 2003–2006 · archived

gate, bridge, quest help needed

11 posts
#1

gate, bridge, quest help needed

ok
1.how do i make a gate open and close when a lever is hit?

2. how do i make a bridge get destroyed and resurected when a lever is hit?

3. how do i make a quest in the quest menu and make it show up when the game starts? (for displaying info about the map.)

I know they are all triggers but i cant figgure out to do them...
#2
Ok for for open and closing do
Event: Destructible Dies ( _ = pick the destructible, ie the lever.)
Condition: None
Action: Destructible, Open/close/deastroy gate.

ok thats done

Unfortunetly dont know about bridge sry

for quests go to

event: map initialization
condition: none
action: Quest, create quest(inside this type in the message you wish it to display and the icon next to it)
Hope this helps :lol:
#3
Ok for for open and closing do
Event: Destructible Dies ( _ = pick the destructible, ie the lever.)
Condition: None
Action: Destructible, Open/close/deastroy gate.

ok thats done

Unfortunetly dont know about bridge sry

for quests go to

event: map initialization
condition: none
action: Quest, create quest(inside this type in the message you wish it to display and the icon next to it)
Hope this helps :lol:
#4
humm w/e made me post twice hummm... wasnt done purposely....
#5
i tried that thing with the gate already i went

Event: (lever) dies

conditions:none

Actions: destructable - open (the gate)
destructable - resurect (lever)
destructable - close (gate)

the gate just stays close.. i want the gate to open permently until the lever is hit then the gate would close, i think u might need 2 triggers or something but im not sure. when the lever is hit i want it to stay alive so resurect.
#6
anyone have any other ideas? I want to get my map done. :(
#7

E: lever dies
C:
A:  if (gateopen[1] == false) then
        open gate
        gateopen[1] = true
    else
        close gate
        gateopen[1] = false
    endif
    resurrect lever


ya know, something like that

for bridges its just kill and ressurect the bridge
#8
ok i did it it works good but now i also want my gate to open with a certain item for example (im using sun key)

Events: Unit - A unit enters gate region32 <gen>

Conditions: (Item carried by (Triggering unit) in slot 1) Not equal to Sun Key 0376 <gen>

Actions:
Destructible - Make Iron Gate (Horizontal) 2606 <gen> Invulnerable

I think it is my conditions that is wrong... and yes the sun key is in slot 1.. also i know i have alot of problems :lol: Thanks everyone
#9
still needing help..... :(
#10
1337 s0u1ok i did it it works good but now i also want my gate to open with a certain item for example (im using sun key)

Events: Unit - A unit enters gate region32 <gen>

Conditions: (Item carried by (Triggering unit) in slot 1) Not equal to Sun Key 0376 <gen>

Actions:
Destructible - Make Iron Gate (Horizontal) 2606 <gen> Invulnerable

I think it is my conditions that is wrong... and yes the sun key is in slot 1.. also i know i have alot of problems :lol: Thanks everyone



this trigger directly translates to this in english

"If a unit walks into region32 and is not holding the Sun Key in inventory slot 1, then make the gate invincible (indestructable)".

thus, if a unit walks into the region and doesn't have the sun key, the door becomes indestructable for the rest of the game

I don't know what you're trying to do though
#11
nvm fixed it thanks everyone :D