PirateX12
|
  |
| Joined: 01 Dec 2010 |
| Total Posts: 220 |
|
|
| 30 Jul 2013 07:41 PM |
Welcome to the second part of the ROBLOX series C++ Programming. In this chapter, we'll discuss the parts of Local Scripts and Scripts. Now normally, ROBLOX doesn't let me make posts with scripts on it, for some funky reason, but I'll explain to you the best education I know. Keep in mind, that if you have ANY questions, tweet me, or join our fan group ROBLOX Scripters Guild.
~~~~ Chapter 2: Local Scripts & Scripts ~~~~ In the last chapter, we discussed the topic of Servers, which, was not all that informing. However, this is where we'll start getting somewhere. If you want to read the last chapter, just search C++ Programming in this forum. Scripting would.. if you like to call it, something that will make something do something. For example: You go into ROBLOX Studio, and build a Knight. Question is: How do you make it move? There is no bricks to attach to make it move. You'll need a thing called Script, which you type in the things you wish for it to do, to make it move. However, most things the computer won't understand (b.t.w, in this case, ROBLOX Studio scripts). You'll need to translate for the computer to do it. How? It's just like learning a language. But before we get there, let's discuss the topic on creating your first Script.
Upon inserting the basic model into ROBLOX Studio's Workspace, and opening it up, you'll see print "Hello World!", or just a blank piece of paper. "Hello World!" was the first program (e.g application), everyone usually makes, that you write on Notepad, save as .cpp, .cp, or usually anything else to make the computer recognize it's an application. Anyway, creating scripts involves many things on the keyboard, such as / ; : . , << >> *, and many others. Besides just a Basic script, you'll see Local Script also. A local script is something that.. well, let's say it's just a script that people can see, that will affect everyone. In simple terms, a script that affects the people that are playing the game (Users, Players, Loggers, e.t.c). A script makes something run. One thing that most people know for ROBLOX Studio is Team Changer. That involves a Local Script & Script. The Local Scripts is the actual Team Changer, making the User, (or whatever you want to say), change the team, by clicking the team GUI. The Script, however, is for resetting, or doing an action. Sort of like a Verb. Once you have both scripts inserted, you just made a team-changer. Now all you needed is the On-Screen GUI.
NOTE: Before I end this chapter, I'd like to say that most of you will want to correct me on things. Granted, I don't mind, because I change what I can, but please don't correct me on things that are not actual facts without looking them up. Thanks!
Follow me on Twitter @X12Pirate, or join ROBLOX Scripters Guild for any questions!
(All Credit to Sam's C++ Book) All Right's Reserved. |
|
|
| Report Abuse |
|
|
|
| 30 Jul 2013 07:47 PM |
Excuse me.
What the heck is this?
The Unwise Wizard of Scripters has spoken. |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 30 Jul 2013 07:48 PM |
Scripts in Roblox don't use C++
What the hell are you doing |
|
|
| Report Abuse |
|
|
PirateX12
|
  |
| Joined: 01 Dec 2010 |
| Total Posts: 220 |
|
|
| 30 Jul 2013 07:48 PM |
A series of tutorial for C++ Programming. I am bring out what ROBLOX taught you, to actual programming.
For more information, just read Chapter I |
|
|
| Report Abuse |
|
|
|
| 30 Jul 2013 07:49 PM |
This reminds me of that British TV show Look Around You.
Good stuff.
The Unwise Wizard of Scripters has spoken. |
|
|
| Report Abuse |
|
|
PirateX12
|
  |
| Joined: 01 Dec 2010 |
| Total Posts: 220 |
|
|
| 30 Jul 2013 07:49 PM |
| Scripts in ROBLOX do not teach you the full education of program development. Perhaps paying attention would do you more good. |
|
|
| Report Abuse |
|
|
PirateX12
|
  |
| Joined: 01 Dec 2010 |
| Total Posts: 220 |
|
|
| 30 Jul 2013 07:51 PM |
Dunno what your talking about.
If you have a question, just tweet me. I don't answer them on forum posts much now. |
|
|
| Report Abuse |
|
|
|
| 30 Jul 2013 07:52 PM |
If you're not sure about what Look Around You is, try googling "look around you maths". The relevant video will probably be the first result.
The Unwise Wizard of Scripters has spoken. |
|
|
| Report Abuse |
|
|
Xtreme101
|
  |
| Joined: 03 Jan 2009 |
| Total Posts: 4385 |
|
|
| 30 Jul 2013 07:52 PM |
| Perhaps the people who care do that stuff on their own time and do not here. |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 30 Jul 2013 07:52 PM |
lolololol education is nasty autodidacticism ftw |
|
|
| Report Abuse |
|
|
PirateX12
|
  |
| Joined: 01 Dec 2010 |
| Total Posts: 220 |
|
|
| 30 Jul 2013 07:54 PM |
Ha! Just goes to show that you only listen to ROBLOX's pre-made style. What I mean is, you don't have the full education. I only wrote this series to help people that want to learn a lot, and from what I'm seeing, you don't.
Don't waste your time if you don't want to learn. |
|
|
| Report Abuse |
|
|
|
| 30 Jul 2013 07:55 PM |
| Might as well freshen up with so C++ MIT is only a a month away |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 30 Jul 2013 07:56 PM |
??? Roblox doesn't have style, just look at the difference between the report abuse dialog in the menu and the one in the player list
and if people wanted to learn C++, they wouldn't relate it to Roblox because you can't program in C++ in Roblox |
|
|
| Report Abuse |
|
|
PirateX12
|
  |
| Joined: 01 Dec 2010 |
| Total Posts: 220 |
|
|
| 30 Jul 2013 07:58 PM |
That is not exactly true, blocco.
Scripts on ROBLOX can make applications. Many people have done it before. Also, learning C++ will get you a Job for ROBLOX. Ever heard of C++ Engineer? They are looking for that. Most likely this might help, so please pay attention to the ENTIRE series if you really want to know what I'm talking about.
Part III next release: Tomorrow. |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 30 Jul 2013 08:00 PM |
| Truth isn't what I seek; validity is the basis of my premonitions. |
|
|
| Report Abuse |
|
|
PirateX12
|
  |
| Joined: 01 Dec 2010 |
| Total Posts: 220 |
|
|
| 30 Jul 2013 08:04 PM |
Truth is Validity.
For whatever is valid, is true. For saying what truth is, is valid.
Example: "C++ Programming is important to get a job as a Computer Engineer". Analysis: True & Valid. |
|
|
| Report Abuse |
|
|
|
| 30 Jul 2013 08:04 PM |
| You're his teacher :o Blocco this guy is you're teacher? Holy cow that's weird R U A POSER? |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 30 Jul 2013 08:10 PM |
Truth is not validity.
What is valid need not be true nor false to everyone. Verity is applied in the eyes of the beholder, much like beauty would be. But validity is a trait that is definite no matter who the beholder would be. You might need to think a bit more, and explain your thoughts more clearly; perhaps a little proof here or there would be nice.
I am an ambassador of logic and reason, and will not fault by letting others believe that for a certain fact, there can be only one true or false value.
And no, no one is teaching anyone here, guy with a bunch of zeroes in his name. |
|
|
| Report Abuse |
|
|
PirateX12
|
  |
| Joined: 01 Dec 2010 |
| Total Posts: 220 |
|
|
| 30 Jul 2013 08:15 PM |
Yes blocco, for whatever is in someone eyes, is for them.
But truth is validity, neither for who sees it as it is. Because Truth is what is actually valid. For Instance: One person see's something is Valid, such as, a Credit Card has money. He brings it to a cashier to buy something, and the cashier says it's not valid. For the person buying, he see's it as valid, because he knows it has money in it. However, the Cashier does know if it's valid or not, because the register is saying so. So the Cashier actually knows the "truth", and for the victim, he is neither sure or not.
If you were an ambassador of logic and reason, I would totally respect that, but saying something you are not sure of, or picking it off of "Wikipedia" or what not, would not help any case here.
I have spoken. |
|
|
| Report Abuse |
|
|
PirateX12
|
  |
| Joined: 01 Dec 2010 |
| Total Posts: 220 |
|
|
| 30 Jul 2013 08:16 PM |
| And I'm not saying registers know everything :P |
|
|
| Report Abuse |
|
|
PirateX12
|
  |
| Joined: 01 Dec 2010 |
| Total Posts: 220 |
|
|
| 30 Jul 2013 08:18 PM |
And to help the case here, if something is valid, then it is actually true. No matter what the case.
Truth & Validity is not the same thing, but they do have a corresponding synonym. |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 30 Jul 2013 08:18 PM |
Your English makes no sense, and your logic is not sound. You're making allusions where allusions need not be made, and you don't know what you're talking about.
Truth can't be applied to arguments. Truth can be applied to premises within arguments. Validity and soundness are attributes of arguments. |
|
|
| Report Abuse |
|
|
777MrEpic
|
  |
| Joined: 17 Oct 2012 |
| Total Posts: 3998 |
|
|
| 30 Jul 2013 08:25 PM |
| ur lucky blocco didnt beet u up!! |
|
|
| Report Abuse |
|
|
PirateX12
|
  |
| Joined: 01 Dec 2010 |
| Total Posts: 220 |
|
|
| 30 Jul 2013 08:26 PM |
It's time to mop the floor, newbie.
To point this out, no, Truth and Validity are not the same. HOWEVER! They do correspond, and that is what you do not understand.
Right now, you are making post-after-post to win the debate. Right now, you are most likely running out of things to say, and pretty soon, going to call me names too.
Realize this, spock, because Truth are the actual ROOTS of arguments, for whatever an argument is about, truth lies ahead. Validity has nothing to do with arguments, only with what is, and is not.
If you want to keep this up, you are making my post-thread grow and grow in views. Stop now, or keep going until logic will be beyond comprehension. |
|
|
| Report Abuse |
|
|
Usering
|
  |
| Joined: 18 Aug 2012 |
| Total Posts: 10281 |
|
|
| 30 Jul 2013 08:26 PM |
This is not relative to scripting since C++ is a programming language, not a scripting language.
"Scripts in ROBLOX do not teach you the full education of program development. Perhaps paying attention would do you more good."
It is a pretty good starter for people because once people learn either Lua, Python, or any simple scripting language, it is easier to pick up the different programming and scripting languages. If I hadn't known Lua when going into C++ or Java, I would be terrible, but since I knew the basic loops and conditional statements, it was easy.
~ Add 6276 posts to my post count ~ |
|
|
| Report Abuse |
|
|