#I can't figure out the variables.
1 messages · Page 1 of 1 (latest)
Variables are containers for Data. The way you create a Variable is using the keyword local and then setting them equal to some kind of data.
local Variable = 10
You can then use your variable after creating it.
local Variable = 10
print(Variable) --Prints 10
If you know how variables in math work then understanding them in programming should be easy.
Here is a tutorial that is quite old but taught me how to use variables: https://youtu.be/0Dc2dCYoxxs?si=lSV0VVgY945oBuEU
Beginner's Roblox Scripting Tutorial #3 - Variables (Beginner to Pro 2019)
Hey guys, so in today's video I am going to be teaching you guys about variables on roblox studio. So I'll teach you how to set a variable, what they are used for, and why we need them. Anyways enjoy.
-- Follow me on twitter! (my name is tapwater because thats my main c...
You cannot develop a game, let alone a simple program without the use of variables
For perspective, this is the number of variables within the project I'm working on:
Over twenty thousand across half a thousand files, lol
how do you search for that
All variables in my project are suffixed with local
You need only search for that to get an estimation
Functions count as variables too
This figure discounts loop variables and parameters
But how can you search in all of your scripts at the same time
Ctrl + Shift + F
aaa I see
Bro what are you developing. I just noticed how big that number is. I wrote like 1k + lines for a almost finished Tower Defense game and i have like 300 locals.
And does the amount of files mean that you have over 600 scripts in your Project 💀
I work for Maximillian, the studio behind Frontlines. I am currently developing its sequel, which holds the same AAA graphical and technical quality
The number of files is not unheard for a professionally scaled and funded project. We're currently sitting at ~220k lines of code
I guess that explains the notable developer role 🙏
I can't even imagen optimization for all of that
Hey guys could you help me with server values like string values bool values the ones you add to srrver storage or replicated
Whats the problem ?
We have some incredible talent over here 💪
Like I am using some variables like for example currentstate and it's a string and it's all good I use .value but when I use bool then it breaks
** You are now Level 2! **
Please make your own post!
This is somebody else's discussion. Let's not bury it
Alr
Is there a Russian manual?
Well, I kind of get it, but how do I apply it physically?
What exactly do you mean by physically?
Could you give an example?
I mean, how can you use this in a serious play?
?
Да иди нахуй
Заебал
Thanks, I get it.