|
| 16 Jun 2015 09:33 PM |
for Learning Scripting v2
post some over the years that have get asked a lot if u want
ill also add "how to ask a question on this god damn forum" because half the first time visitors dont know how to
so far: -"what is object space and world space" -"how do i put a surface gui on a part with a script?" -"what is the difference between remove and destroy?" -"how do i make clickdetectors work with filteringenabled"
etc. |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 16 Jun 2015 09:34 PM |
how do you make a script?
http://wiki.roblox.com/index.php?title=Absolute_beginner%27s_guide_to_scripting |
|
|
| Report Abuse |
|
|
|
| 16 Jun 2015 09:35 PM |
nobody asks that
variations yes that no |
|
|
| Report Abuse |
|
|
lordrambo
|
  |
| Joined: 16 Jun 2009 |
| Total Posts: 20628 |
|
|
| 16 Jun 2015 09:44 PM |
| -"why doesn't my script work" |
|
|
| Report Abuse |
|
|
Juntz
|
  |
| Joined: 11 Jun 2015 |
| Total Posts: 13 |
|
|
| 16 Jun 2015 09:46 PM |
function dude() print("get out skid.") end
dude()
output: get out skid. |
|
|
| Report Abuse |
|
|
iiEssence
|
  |
| Joined: 18 Jun 2014 |
| Total Posts: 3467 |
|
|
| 16 Jun 2015 09:49 PM |
| ^ Who gave you that script? That person is really honest |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 16 Jun 2015 09:50 PM |
| Yeah because global variables are great huh |
|
|
| Report Abuse |
|
|
iiEssence
|
  |
| Joined: 18 Jun 2014 |
| Total Posts: 3467 |
|
|
| 16 Jun 2015 09:50 PM |
der ggggrreatt!!!
- the tiger from frosted flakes |
|
|
| Report Abuse |
|
|
|
| 16 Jun 2015 09:55 PM |
| "Works in studio but not online" |
|
|
| Report Abuse |
|
|
|
| 16 Jun 2015 10:02 PM |
what cnt
"function dude() print("get out skid.") end
dude()
output: get out skid."
what |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 16 Jun 2015 10:04 PM |
| I didn't say that, I just said that the script isn't using local vars when it can >:) |
|
|
| Report Abuse |
|
|
|
| 16 Jun 2015 10:29 PM |
Put a crap load of Vector math in there. It's super useful. Maybe a very simple introduction to trig. In the game I'm making I've used vector math and trig to write my own physics system for greater accuracy, positioned things along the outside of a circle based on their rotational value from 0-3 and their distance from the center in one line of code, created a laser, and got a player indicator working. Just a simple "math.cos(angle)*radius gives you the x coordinate, math.sin(angle)*radius gives you the y coordinate (or z, which is probably what you're looking for in 3D), put y,x into math.rad(math.atan2(y,x)) to get angles" should do. You should also cover reaaaaly basic concepts using simple terms, like variables and execution order. And the number one thing you absolutely have to cover in this, is how to use the wiki, because for beginners it really isn't clear.
It's delightful, It's delicious, It's delovely! |
|
|
| Report Abuse |
|
|