Sixth in Scripting Help - World to Build

Sixth in Scripting Help

Total Posts:
2
Joined:
05-04-2022
01-02-2023 11:17 PM
Do for loops not exist in World to Build yet?
Admin
Membership
Early Supporter
Total Posts:
249
Joined:
09-13-2018
01-03-2023 3:40 AM
we use Lua 5.2 which has full support for "for loops", try this:

for i = 0, 10 do
print(i)
end
Total Posts:
2
Joined:
05-04-2022
01-07-2023 12:53 AM
we use Lua 5.2 which has full support for "for loops", try this: for i = 0, 10 do print(i) end
Oh thanks, I must've done something dumb then. lol
Loading...
Join us on Discord to get development updates and chat with other players!