I have a bossfight at the end of my game and I want there to be an element where it summons barriers for three seconds before dropping them for 5 seconds or something like that. Really similar to what a laser manager does, except it blocks gadget projectiles. So how can I do this? I know how to do it once (just some triggers), but I don’t want an endless row of triggers on my map just for the delays.
you should be able to make a trigger loop or something like that
lemme make one and send a picture rq
heres a wire repeater loop
lifecycle detects when the game starts
the wire repeaters are wired to eachother (creating an infinite loop)
and when wire repeater 1 is activated, it triggers the trigger
you can replace the trigger with your mechanic
if you want this to take like maybe 5 seconds to trigger the barrier then change the delay of the wire repeaters to add up to 5
hopefully this works, tell me if it doesnt
you can also add another mechanism to wire repeater 2, maybe to turn off the barrier
what if I don’t want it to be active at game start (sorry i’m being picky
? is there a way to incorporate this when player enters a zone or something?
i’ll try something in gkc
yep! just replace the lifecycle with a zone
should the trigger have the delay? or should the wire repeaters have it? and if so, how would I configure it to add up to 5 seconds?
i would give the wire repeaters the delay
from my experience the loop doesnt work if the wire repeaters have no delay, but i might be wrong
for the add to 5 seconds thing
if you only want wire repeater 1 to activate something then give the repeaters two numbers that add up to 5 (1 4, 2 3, etc)
if you want wire repeater 1 and 2 to activate something then give both repeaters a delay of 5
how would I make the barrier(s) reappear?
so here i have made it so wr (wire repeater) 1 and 2 do something to the barrier
wr 1 deactivates it, and wr 2 activates it
when wr1 deactivates the barrier, wr2 will reactivate it after 5 seconds (delay) and it loops with a 5 second delay
hopefully i explained it well, sry if i didnt
wait gimme a sec to see that rq… just to clarify, wire repeater 1’s wire activates the barrier, and the second deactivates it?
yep!
YOOO IT WORKS!!! Thank you!!
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.

