Gate triggers stopped working

  • Thread starter Thread starter Dukedren
  • Start date Start date
D

Dukedren

Guest
i have an open/close gate trigger in my map and it worked just fine,
the trigger works on chat messaging( -open gate, -close gate)
now the gate opens but wouldnt close. please tell me what could it be.
P.S: I have many gate triggers and all of them stopped working.
 
i tried rewriting the trigger and the gate stopped opening, and i found out that one of the four gates works fine while the other ones dont.
 
click on the trigger

right click on event and click copy as text then paste it here
right click on condition and click copy as text then paste it here
right click on action and click copy as text then paste it here
 
here is the "open gate" trigger:
Events
Player - Player 1 (Red) types a chat message containing -open gate as An exact match
Player - Player 2 (Blue) types a chat message containing -open gate as An exact match
Player - Player 3 (Teal) types a chat message containing -open gate as An exact match
Player - Player 4 (Purple) types a chat message containing -open gate as An exact match
Player - Player 5 (Yellow) types a chat message containing -open gate as An exact match

Actions
Destructible - Open Iron Gate (Horizontal) 0000 <gen>

This the "Close gate" trigger:
Events
Player - Player 1 (Red) types a chat message containing -close gate as An exact match
Player - Player 2 (Blue) types a chat message containing -close gate as An exact match
Player - Player 3 (Teal) types a chat message containing -close gate as An exact match
Player - Player 4 (Purple) types a chat message containing -close gate as An exact match
Player - Player 5 (Yellow) types a chat message containing -close gate as An exact match

Actions
Destructible - Close Iron Gate (Horizontal) 0000 <gen>

Debug trigger(a trigger i made for fixing a bug, the bug was:
if the gate was ruined and someone would say "-open gate" it would get fixed.)

Events
Destructible - Iron Gate (Horizontal) 0000 <gen> dies

Actions
Trigger - Turn off Open main gate <gen>
Trigger - Turn off Close main gate <gen>

P.S: the gate now opens but still wouldnt close...
 
Dukedren said:
Events
Destructible - Iron Gate (Horizontal) 0000 <gen> dies

Actions
Trigger - Turn off Open main gate <gen>
Trigger - Turn off Close main gate <gen>

A open gate is a dead gate, so when you open it the close trigger is turned off by the bug fix trigger.

Suggestions: Make the gate invurnable so you dont need the bug fix.

Or have this condition in your bug fix
Code:
(Current life of (Dying destructible)) Less than or equal to 0.00
It may work but I am not sure, the invurnable fix works.
 
The gates worked fine with the debug i dont know what hapenned...
 
thx but how exactly do i write the condition trigger?
its kinda my first map so i dont really know /:
 
Dukedren said:
The gates worked fine with the debug i dont know what hapenned...
Remove the debug and se if it works ^^. I know that when you tries to open a gate the code kills it and makes it play the "death alternate" animation wich is the animation for a open gate. When you close the gate it is rescurected. That is how it is.

Edit-
The condition didnt work :( I just tested it.
 
yeah the gate works without the debug, but can you tell me how to write the condition thingy?


EDIT:if the condition doesnt work im in a huge problem...
the gates that i need are the gates of Troy and if the will be invulnerable the Greeks would not be able to break in...
if you find anything plz tell me.
 
Ok, here is another way to open and close a gate without killing it and you can still use the debug

Isteed of the action you are using now use

Code:
Animation - Play Gate (Diagonal 1) 0000 <gen>'s death alternate animation
that will open the gate but not kill it, unit can still attack the gate and if the does the gate close itself again. If you dont want an open gate to be attackable make it invurnable when you "open" it with this action and vurnable again when you close it. You can still use the normal close function but then the gate will get its life restored, if you dont wants its life restored use this action:
Code:
Animation - Play Gate (Diagonal 1) 0000 <gen>'s stand animation
 
doesn't work

phyrex1an, i had same problem and now my door can open and close but my units can't walk through it when the gate is open... it's kinda useless, could you tell me what do i have to do to make it walkable?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    I love the Trending Content!
  • The Helper The Helper:
    New News Forum World News
  • The Helper The Helper:
    How often does the Trending Content box refresh?
  • The Helper The Helper:
    Also, in the last template there was a seperation between sticky threads and regular threads in the forum
  • Ghan Ghan:
    Not sure. It's probably part of a cron job.
  • The Helper The Helper:
    Hey Ghan, whatever cron job its part of its not running its been the same for days. If it does not work can we remove it?
  • The Helper The Helper:
    LOL! A tweak job!
  • The Helper The Helper:
    this is the fix I get from that yeah this is hard to control. disabling bots is pretty much necessary as ai and other bots would push really old threads to the top. reduce weight of view count. disable guest view tracking if you really want to push active threads to the top. a bit of tinkering for a few days with the weights and other settings should get you a decent trending widget box.
  • Ghan Ghan:
    I changed the settings a bit.
  • Ghan Ghan:
    Narrowed it to 7 days for the half-life and set views to 0 weight.
  • The Helper The Helper:
    I dont think Trending would work for this forum it would be better to just have the last 5 posts from anywhere
  • Ghan Ghan:
    Probably will have to give it some time to update.
  • Ghan Ghan:
    I'm guessing it is not retroactive.
  • Ghan Ghan:
    Next on the punch list: Update the server to Ubuntu 24.04.
  • The Helper The Helper:
    Mad Lads is new I see it displays original post date
  • The Helper The Helper:
    as long as it changes it is good - it is good now it updated and its new stuff
  • The Helper The Helper:
    One thing I have noticed and I dont know if it is by design but like 1 out of 3 times I come to the site the Anubis screen just hangs open, if I refresh it will go away but sometimes it hangs
  • Ghan Ghan:
    I've seen that as well.
  • The Helper The Helper:
    Wow - the change in the stats are major. I kind of knew it was all bots but wow, to see the effect. Why the social media sites cant do something like this I have no idea.
  • Ghan Ghan:
    Probably inflates their numbers so they look better to advertisers.
  • The Helper The Helper:
    Yeah google does not filter those bots. I remember when Apex was doing Google ads I saw the same IPs in there as I was seeing here - google is totally tracking all those bots as traffic and most google traffic, at least ours, was all bots
  • The Helper The Helper:
    oh wow, i bet i can post x links now and do the webp pics now giggity
  • The Helper The Helper:
    ahh anubis blocks anyone that has javascript turned off
  • The Helper The Helper:
    Robot: HTTP client library - i love the new robot :)

The Helper Discord

Staff online

Members online

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top