THEeric
|
  |
| Joined: 08 May 2008 |
| Total Posts: 6185 |
|
|
| 24 Feb 2012 11:08 PM |
Don't write a script for me. I need you to tell me what I need to know and possibly a bit more to build the script I want.
My goal is to make one face of a brick always face the player. |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Feb 2012 11:11 PM |
Reading parts of the wiki and looking at already working scripts (and playing around with them a bit) is a great way to learn to script. That's how I started.
If you already have a basic scripting knowledge, this little bit of the wiki would probably be the most helpful for what you want to do. http://wiki.roblox.com/index.php/CFrame#Constructors
Haters gonn' hate. |
|
|
| Report Abuse |
|
|
THEeric
|
  |
| Joined: 08 May 2008 |
| Total Posts: 6185 |
|
|
| 24 Feb 2012 11:16 PM |
| Well yeah I know all the basics... I just need a few hints, or what to look up. |
|
|
| Report Abuse |
|
|
|
| 24 Feb 2012 11:20 PM |
| http://www.roblox.com/Forum/ShowPost.aspx?PostID=63028895 |
|
|
| Report Abuse |
|
|
THEeric
|
  |
| Joined: 08 May 2008 |
| Total Posts: 6185 |
|
|
| 24 Feb 2012 11:36 PM |
| Bluey, you are by far the most ignorant forumer I've ever seen. also, reported for spam. |
|
|
| Report Abuse |
|
|
THEeric
|
  |
| Joined: 08 May 2008 |
| Total Posts: 6185 |
|
|
| 24 Feb 2012 11:38 PM |
| Also, thanks, SCARFACIAL. That helps, as I have very limited experience with CFrames. |
|
|
| Report Abuse |
|
|
|
| 24 Feb 2012 11:39 PM |
| *cough* i was only just linking you to a topic with some hints and tips for you, go ahead and report me *cough* |
|
|
| Report Abuse |
|
|
|
| 24 Feb 2012 11:43 PM |
| Use the CFrame lookvector. |
|
|
| Report Abuse |
|
|
THEeric
|
  |
| Joined: 08 May 2008 |
| Total Posts: 6185 |
|
|
| 24 Feb 2012 11:44 PM |
| No, you were being a smart-alec and linking me to something that everyone who goes on this forum has read. |
|
|
| Report Abuse |
|
|
THEeric
|
  |
| Joined: 08 May 2008 |
| Total Posts: 6185 |
|
|
| 24 Feb 2012 11:50 PM |
| Thanks thek00lkid, now I'll figure out how to use it. |
|
|
| Report Abuse |
|
|
DrHaximus
|
  |
| Joined: 22 Nov 2011 |
| Total Posts: 8410 |
|
| |
|
THEeric
|
  |
| Joined: 08 May 2008 |
| Total Posts: 6185 |
|
|
| 25 Feb 2012 12:48 AM |
| DrHaximus, how am I being ungrateful? He linked me to a sticky, as if I'm stupid. I thanked the people who linked me to useful things and helped out. |
|
|
| Report Abuse |
|
|
Cakins
|
  |
| Joined: 23 Jul 2009 |
| Total Posts: 307 |
|
|
| 25 Feb 2012 01:09 AM |
It would be SOMETHING like this, although you would have to play around with the values and such, as I have not tested it and have limited experience with it.
part = workspace.Part
torso = game.Players.LocalPlayer.Character.Torso
coroutine.resume(coroutine.create(function() while wait() do part.CFrame = torso.CFrame * (torso.CFrame.lookVector * -10) end end)) |
|
|
| Report Abuse |
|
|
|
| 25 Feb 2012 06:02 AM |
You need to have studio mode first :P Thats all I'm sayin |
|
|
| Report Abuse |
|
|
|
| 25 Feb 2012 06:24 AM |
| @Lord I think he knows that bro. =P |
|
|
| Report Abuse |
|
|