generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

I was never here

Previous Thread :: Next Thread 
Stripeyman879 is not online. Stripeyman879
Joined: 31 Jul 2008
Total Posts: 1726
29 Jul 2012 09:45 PM
Would this work?

script.Parent.Parent.Equipped:connect(function(mouse)
mouse.Move:connect(function()
local t = script.Parent.Parent.Parent.Torso;
local handle = script.Parent.Parent.Handle
handle.CFrame.lookVector = t.CFrame.lookVector
t.CFrame = CFrame.new(t.Position, mouse.Hit.p);
end);
end);
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
29 Jul 2012 09:47 PM
Depends where the script is placed, and if you remove the semicolons.
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
29 Jul 2012 09:47 PM
semicolons can be there if they so desire

† KMXD † - Evil Duck Overlord, bent on world domination.
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
29 Jul 2012 09:52 PM
Semicolons always give me errors with RBX.Lua, so I just use them with every OTHER language :P
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
29 Jul 2012 09:53 PM
At least you know other languages... D:

† KMXD † - Evil Duck Overlord, bent on world domination.
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
29 Jul 2012 09:55 PM
Just the easy ones, still trying to figure out Java.
No one seems to know it..
Been trying to rotate the ViewingPlatform for 2 weeks D:
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
29 Jul 2012 09:56 PM
I know Java, but I've never heard of "ViewingPlatform".
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
29 Jul 2012 09:56 PM
Lol, why not google it? I might learn others, though can French count? :p

† KMXD † - Evil Duck Overlord, bent on world domination.
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
29 Jul 2012 09:57 PM
If French counts, then so do German and Japanese :P
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
29 Jul 2012 09:57 PM
I've googled it.. so many hundereds of times.. ALL the links are purple..
@Dro it's used with Java3D. If you can learn Java3D and teach me how to rotate the ViewingPlatform, I give you 5,000 robux.
Report Abuse
Stripeyman879 is not online. Stripeyman879
Joined: 31 Jul 2008
Total Posts: 1726
29 Jul 2012 09:58 PM
Ha nevermind I fixed the problem you guys can have this script if you want to use a Gun that points where your mouse is just put it in a localscript inside the shooting script.
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
29 Jul 2012 09:58 PM
Oh, I only use Java with JFrame+Canvas+BufferStategy to make games (or learning LWJGL/JMonkeyEngine).
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
29 Jul 2012 09:59 PM
LWJGL?
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
29 Jul 2012 10:00 PM
You know German and Japanese? :o

† KMXD † - Evil Duck Overlord, bent on world domination.
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
29 Jul 2012 10:00 PM
LightWeight Java Game Library
Allows Java to use OpenGL, OpenAl etc (minecraft uses it)
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
29 Jul 2012 10:01 PM
I've only heard of OpenGL, not a clue what it is.
What is it? :3
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
29 Jul 2012 10:01 PM
@Knight: Learning. German at school for 5 years and self-taught Japanese for 2-3 years, but gonna do a GCSE in it next year :DD When I'm older, I want to move to Japan to teach English :3
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
29 Jul 2012 10:02 PM
@Top: OpenGraphicsLibrary. Used for 3d rendering on lots of platforms (windows, linux, mac, android, playstation, iOS). Like DirectX, but as that was made by Microsoft, that only works on windows, windows phone and xbox.
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
29 Jul 2012 10:03 PM
So OpenGL can create 3D objects? :O
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
29 Jul 2012 10:06 PM
Not create, but render. You can use a text file loader to load the vertex data (and face and normals and texture) from a 3d .obj model, then put it into a vertex-buffer-object and render it.
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
29 Jul 2012 10:06 PM
Oh :p
Report Abuse
DrAgonmoray is not online. DrAgonmoray
Joined: 29 Jul 2008
Total Posts: 17428
29 Jul 2012 10:07 PM
just adding this on:

opengl = open graphics library
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image