#👍 or 👎 code

16 messages · Page 1 of 1 (latest)

steel saddle
#

I hope this is a joke

#

Thats because they’re not inside the loops

#

Then perhaps change the variable names so they’re more readable

#

While/for/repeat = loops

if = condition

#

Then why not cal them Cover/Density

#

It’s not that hard to type because of autofill, yet can help folks

#

Besides, readability is very important, definitely for long projects

#

You don’t want to have to bugpatch something in 4 months when you forgot what those variables mean

#

And you could just use the replace function to quickly change it all

#

Quite sure ctrl + f should open some menu for it

#

It’s just a studio function. Not a programming function

#

It’s similar to stuff like copy paste and such

#

Oh right, I missed that line

#

Oh wait

#

You got the symbols mixed up. Right now it says
if density IsLesserThan 0.87 then
-= 0.01

#

And because it will eventually get stuck under 0.62 then it will never get the + 0.01, and only the -0.01