Garry's Mod

Garry's Mod

Wiremod
Trainman21 25 Aug, 2015 @ 5:17am
Trigger Tool Issue
I noticed on the Trigger tool in the Detection tab, when I run a single railcar over it, it performs fine, but when I have multiple cars hooked together, the tool still recognizes a prop even though nothing is there.

I have provided some screenshots to help explain what's wrong:

This is what it shows when nothing has passed it. Notice the 0 on the value screen in the background: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=506087561

This is when 1 railcar passes the trigger. The screen shows a 1 indicating that it is detecting one prop: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=506087579

When that one railcar passes, the value turns back to 0 like it should.

When I have multiple railcars hooked up, the value will change to 1, then to 2 when detecting both railcars, then back to 1:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=506087607

Finally when they pass, rather than the value returning to 0, it sits at 1: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=506087620

When I moved the railcars pass the trigger again, the value increases to 2 once they pass.

A fix would be nice as I am using this tool to activate/deactivate a railroad crossing and this bug is preventing it from deactivating. Thank you.
< >
Showing 1-1 of 1 comments
Trainman21 25 Aug, 2015 @ 8:41pm 
So I found that when I add a prop to the trigger range, add a second one, remove the first one then remove the second one, it holds at one. If I remove the second one first then the first one, it resets to zero like it should.
Last edited by Trainman21; 25 Aug, 2015 @ 8:44pm
< >
Showing 1-1 of 1 comments
Per page: 1530 50