I have a trigger and property called “points”. When the trigger is triggered, the points property goes up by 100, and the trigger gets deactivated. However, when I trigger the trigger, the points property goes up by 30,000!
Here is the block code I used:
*Ignore the set text block, this is in a game overlay.
If you see anything wrong, please tell me.
I don’t see anything wrong here, how is the trigger, well, triggered?
It is triggered by collision.
Does the trigger have any block code?
There’s no code in the trigger, but when the trigger is triggered, it sends a signal to the overlay which sets off this block.
Alright, give me one second, I need to test something.
Points is set as a number property, right?
interesting, did the exact set up and it worked as intended.
is there anything else that could possibly interfere with the point system? maybe check your channels
1 Like
There is a wire repeater. I wired the trigger to the repeater, and the repeater to the trigger so the trigger would be deactivated afterwards.
I see. The wire repeater might be… repeating the signal. I would try to find another way to disable the trigger.
I’ve changed my deactivation system. Now, when the trigger is triggered, the signal it sends deactivates the trigger. Still the same problem.
Honestly, I don’t know what else to do then. Try checking other devices and making sure nothing else is sending a signal (on the same channel).
I’ve solved it! The property device for points was transmitting the same channel whenever the trigger was triggered.
2 Likes
system
Closed
November 16, 2024, 3:58am
18
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.