• 🏆 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!

gate, bridge, quest help needed

Status
Not open for further replies.
Level 2
Joined
Jan 11, 2006
Messages
12
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...
 
Level 7
Joined
Dec 17, 2005
Messages
337
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:
 
Level 7
Joined
Dec 17, 2005
Messages
337
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:
 
Level 2
Joined
Jan 11, 2006
Messages
12
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.
 
Level 7
Joined
Jul 30, 2004
Messages
451
Code:
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
 
Level 2
Joined
Jan 11, 2006
Messages
12
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
 
Level 7
Joined
Jul 30, 2004
Messages
451
1337 s0u1 said:
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


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
 
Status
Not open for further replies.
Top