#loop with tagging system

1 messages · Page 1 of 1 (latest)

soft osprey
#

you could just use a for each loop directly there. the amount of heat it takes is so negligible it doesnt even matter

#

its just a loop that goes through the given list in a single frame

#

the loop output gets executed for however many items there are in the list and the element is output for which one its at right at that moment

#

then after its gone through the entire list the done output outputs an exec

#

so you would want to first check if the player is local and skip to the next element (which means you dont do anything else in the loop)

#

yes

#

it does it in a single frame and as such the heat cost goes up accordingly

#

it does read the list, it just happens in a single frame so you cant read the output with your maker pen

#

yeah, thats normal

#

just ignore it and treat it as if it had the data you want it to work on

#

because its not running

#

even if you do run it it will still show error because it has incremented the index beyond what the list contains and just ended

soft osprey
#

you literally cannot read the output with the maker pen

#

as long as its given an execution and a list it will go through the list like normal

bronze hemlock
soft osprey
#

by not creating an infinite loop