HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Please Help!!! Plz Plz Plz!!!

08-04-2004, 08:08 PM#1
Lalalalalala
ok this is what my triggers look like:
CreateButtons:
Events
=========
Time - Elapsed game time is 0.01 seconds

Actions
=========
Dialog - Create a dialog button for GateBot called Left
Set BotOpenLeft = [last created dialog button]

etc 4 more times

then i have
[new trigger]

Events
=========
Dialog - a dialog button is clicked for gatebot

Conditions
=========
[clicked dialog button] equel to BotLeftOpen

Actions
=========
Destructible open iron gate [horizontal] 0085 <gen>
Destructible open iron gate [horizontal] 0084 <gen>
Dialog - Hide GateBot for [triggering player]

all that works fine but this is where the problem stast (below)
[new trigger]
Events
=========
Dialog - a dialog button is clicked for gatebot

Conditions
=========
[clicked dialog button] equel to BotLeftOpen

Actions
=========
Destructible close iron gate [horizontal] 0085 <gen>
Destructible close iron gate [horizontal] 0084 <gen>
Dialog - Hide GateBot for [triggering player]

the gates dont close when you do that... just wondering if anyone could help
thnaks a lot if u can

i tried my best to get all those triggers down if u need somethin let me know
08-04-2004, 08:36 PM#2
HexenLordX
Quote:
Originally Posted by Lalalalalala
ok this is what my triggers look like:
CreateButtons:
Events
=========
Time - Elapsed game time is 0.01 seconds

Actions
=========
Dialog - Create a dialog button for GateBot called Left
Set BotOpenLeft = [last created dialog button]

etc 4 more times

then i have
[new trigger]

Events
=========
Dialog - a dialog button is clicked for gatebot

Conditions
=========
[clicked dialog button] equel to BotLeftOpen

Actions
=========
Destructible open iron gate [horizontal] 0085 <gen>
Destructible open iron gate [horizontal] 0084 <gen>
Dialog - Hide GateBot for [triggering player]

all that works fine but this is where the problem stast (below)
[new trigger]
Events
=========
Dialog - a dialog button is clicked for gatebot

Conditions
=========
[clicked dialog button] equel to BotLeftOpen

Actions
=========
Destructible close iron gate [horizontal] 0085 <gen>
Destructible close iron gate [horizontal] 0084 <gen>
Dialog - Hide GateBot for [triggering player]

the gates dont close when you do that... just wondering if anyone could help
thnaks a lot if u can

i tried my best to get all those triggers down if u need somethin let me know

Its because the trigger for open and close are the exact same. You have it set to clicking Bot Left Open to open and close the gates, and it can't do both at the same time, It'll probably just go by one trigger. So it opens them, and then tries to open them again next time you run it.

solution: create a new dialog button to close them, or disable the opening trigger after they are open, and re-enable is after they are closed. Don't have both triggers trying to run when you hit the dialog button.