Mechanics for my game not working

I added a trigger in, where it triggered on check passing, waited a second, then ran the trigger again. I think the issue must be in the counter or the property.

so the checker only checks once?

No, it keeps checking. The issue’s changed now - I tried depositing 10 cash and it added 1, then I reloaded the game and tried adding 5 – it added 10 instead. I’ve made my counter visible now, just to check that the counter is equal to the property, and it seems to be.

Every time I try to add 5, it adds 10 now. It’s so inconsistent with the exact iteration of the issue that I’m starting to think it must be a glitch.

recreate the system in a different map (if you have one available.) if you can’t i can do it for you instead :D

2 Likes

The checker has to checking for the cash to be greater than 0.

I don’t have any other map slots :frowning: If you did that for me then that would be so kind, thank you!

That’s what I have at the moment, I changed it after @Kosm0-o suggested it.

2 Likes

Those are the same channels,

it was to create a checker loop

1 Like

That’s intentional! Basically, if it fails then it just stops the checker because the player has no money, but if they have some then it checks again by using that channel to see if they have more. I changed it, though, to implement the delay that @Kosm0-o suggested in case it was lagging.

1 Like

Oh, this happens with a trigger loop with no delay, so maybe it is the same here.

Make a trigger with a delay with those channels instead.

I’ve already done that, but it hasn’t really helped.

I’ve got the weird invisible sentry bug going on right now as well, so I’m hoping that my map is just glitching a bit.

Okay, sorry, but try using wires.

Trigger has a delay of 0.2.

When check passes --> Trigger

Triggered --> Check
1 Like

I’ll have a go with that!

1 Like

I think I must have done it wrong, because now nothing happens…

huh. I re made the system and it works perfectly fine with me. Do you want to try replicating mine and see if anything is different?

1 Like

Oh, I know why, sorry. (I deleted the channels so that they wouldn’t mess it up, but then that took away the counter and item granter.)

Sure, thank you! Can you show me your workings so I can compare?
If they’re the same, mine must just be glitching and I’ll have to wait for a bit.

1 Like

Did you look at the counter to find out if it had worked or did you make the property the scoring method?

I used visible counter for counter view and overlay for property num view.

2 Likes