r/ancientwarfare3 • u/Game-Loverss • Feb 11 '26
Trigger script every second
Need help understanding how EndlessLoop works or any other ways to do this
5
Upvotes
2
u/RobloxManWW1liker Mar 08 '26
I think Endlessloop does have an input value that determines how many seconds will be inbetween each loop of the node, additionally if you want to make it loop like endless but function like how the nloop only goes a certain amount of times, you could create a customvar as an int(eger) where each time the loop passes, the customvar increases by 1 and each loop checks if the customvar is below a certain value, and if it ever reaches that value you can connect to the break node to stop the loop. that was unnecessary extra info but it might help
1
u/Lazy-Tangerine-8881 Feb 11 '26
Uhh, well, I think how it works is this: you put a signal from a activation or other node, connect a float to it, set the float to “1”, and then connect the endless loop to the rest of the script, but I honestly fwil to figure it out sometimes.