#Toggle trigger issue

79 messages · Page 1 of 1 (latest)

idle gull
#

Okay so I'm trying to toggle off the triggers that make the collision block move to the other side, for some reason it doesn't work when i use a collision trigger to trigger the toggle trigger when collision block 1 touches block 2, but it does work if i just have a regular toggle trigger that isn't spawn triggered?

#

i feel like theres a way easier way to do this lmao

idle gull
#

but i actually dont need that spawn trigger anymore

zealous iron
#

Can you show the triggers under Left To 2

idle gull
#

sure

#

okay this is the move trigger that moves block 1 to block 2

#

here's the collision trigger that detects when block 1 collides with block 2

#

which will spawn group 19

#

which is this toggle trigger

#

and the toggle trigger SHOULD trigger group 18 (the other move triggers) off

#

and it does

#

but it still breaks

zealous iron
idle gull
#

and block 1 from block 3 back to the starting position (block 4)

zealous iron
#

What do the event triggers do

idle gull
#

they detect when you press left or right

#

so block 1 should move left when you press the left arrow

#

its kinda like 3 lanes

#

and you can use the arrow keys to switch between them

zealous iron
#

What does left to 2 event trigger

idle gull
#

oh

#

wait

#

i think i figured out the issue

#

i just realized i forgot to set a different group for that even trigger lmao 😭

#

sorry

zealous iron
#

gg

idle gull
#

oh waot

#

wait

#

i actually did

#

nvm 😭

#

its still broken

zealous iron
#

@idle gull dherhcudu

idle gull
#

yeah it makes block 1 move back to block 4 when right is pressed

zealous iron
idle gull
#

Left to 2 detects when the player presses left

zealous iron
wraith kayak
#

I feel like I might be able to help but I don't understand what you're doing

#

(nearly none of the explanation helps)

#

wait, this kind of looks like one of those cup shuffle games, are you trying to disable certain movements based on the current position of box 1?

#

@idle gull

wraith kayak
wraith kayak
#

I have an idea of a probably simpler system for the player's location

#

provided there's three rows, you can have Left, Up, and Right correspond
you might be able to utilize Advanced Follow to move stuff to the target column, making each control disable other advanced follows and start its own

idle gull
#

I haven’t really made them yet though

#

I kinda wanna have it so you cab switch lanes with left and right

#

Instead of moving to a position I could have it move in steps of 30

#

That would make it a lot simpler

#

But im worried that it might break

idle gull
#

I just made it and it works

#

Im gonna use this instead

wraith kayak
#

I'm not sure what you mean by steps of 30 lol

#

well either way, gl with the project ^-^

idle gull
idle gull
#

But

#

There is another issue

#

If you spam the buttons you can break it

#

Nvm this breaks a lot

#

Tbh the other method is probably easier

#

And more straightforward

wraith kayak
#

set up another advanced follow for the actual player that has easing

#

and boom, column selection + movement

#

you can also set a max speed so that the player moves the same distance consistently - a movement all the way across would take two times the amount of time that going to the middle would

idle gull
idle gull
#

What does up do?

zealous iron
#

when you jump

idle gull