Garry's Mod

Garry's Mod

Wiremod
Trainman21 25. aug. 2015 kl. 5:17
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: http://psteamcommunity.yuanyoumao.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: http://psteamcommunity.yuanyoumao.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:
http://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=506087607

Finally when they pass, rather than the value returning to 0, it sits at 1: http://psteamcommunity.yuanyoumao.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.
< >
Viser 1-1 af 1 kommentarer
Trainman21 25. aug. 2015 kl. 20:41 
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.
Sidst redigeret af Trainman21; 25. aug. 2015 kl. 20:44
< >
Viser 1-1 af 1 kommentarer
Per side: 1530 50