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 » Scripters
Home Search
 

Re: how do you move something in lighting that won't

Previous Thread :: Next Thread 
da111ad is online. da111ad
Joined: 09 Jun 2010
Total Posts: 1449
11 Mar 2013 08:11 PM
anyone know?
Report Abuse
DannyCore is not online. DannyCore
Joined: 25 Apr 2012
Total Posts: 990
11 Mar 2013 08:11 PM
i don't get it
Report Abuse
18cwatford is not online. 18cwatford
Joined: 08 Oct 2009
Total Posts: 5410
11 Mar 2013 08:12 PM
"Move"

Well I think of either position or parent, but neither belong here for this question, which shouldn't be here.

~ Moo logic = logical logic ~
Report Abuse
ArceusInator is not online. ArceusInator
Joined: 10 Oct 2009
Total Posts: 30553
11 Mar 2013 08:12 PM
It's trying to communicate with us! Someone get my field guide!
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
11 Mar 2013 08:33 PM
@Arceus
I found your guide, but in no way does it explain grammatically failing issues that are not related to scripting! Or did I miss a chapter when I read through...?
Report Abuse
dekkonot is not online. dekkonot
Joined: 22 Dec 2010
Total Posts: 6685
11 Mar 2013 09:32 PM
You use magic pixie dust to move it, of course.
Report Abuse
Garnished is not online. Garnished
Joined: 09 Apr 2012
Total Posts: 12695
11 Mar 2013 09:49 PM
Parent it to workspace and change the position.
Report Abuse
GreenDay987 is not online. GreenDay987
Joined: 21 May 2011
Total Posts: 7027
12 Mar 2013 02:02 PM
I'm pretty sure he means the problem with moving things in lighting to the Workspace in Studio.




-GD987: LuaLearners Writer, Teacher, Scripter, Forumer, Game Developer, Troll-
Report Abuse
DrHaximus is not online. DrHaximus
Joined: 22 Nov 2011
Total Posts: 8410
12 Mar 2013 02:05 PM
1. if it doesnt move, tell it to move
2. if it doesnt move, demand that it moves
3. if it doesnt move, push it
4. if it doesnt move, repeat steps 1-4


- DrHaximoose
Report Abuse
NINJAKID09 is not online. NINJAKID09
Joined: 27 Aug 2009
Total Posts: 14392
12 Mar 2013 02:26 PM
You're being a bit too ambiguous, also the right section to ask is Scripting Helpers.
Report Abuse
Solotaire is not online. Solotaire
Joined: 30 Jul 2009
Total Posts: 30356
12 Mar 2013 03:39 PM
If you have an object in lighting that you want to move into the Workspace, you can do so by assigning the object's parent to Workspace. The general form for this would be either:
game.Lighting.OBJECTNAME.Parent = workspace
or, if the name of the object has spaces in it:
game.Lighting["OBJECTNAME"].Parent = workspace.

However, most of the time, you are going to want to make a clone of the object. Clones are exact replicas and contain all of the same properties. Using a clone, you can recreate the object again later. This is helpful for giving players tools, regenerating parts of a map, creating something that will only temporarily be in the Workspace (such as a map for a mini-game), and more. The code for that will usually look something like this:
clone = game.Lighting.OBJECTNAME:clone()
clone.Parent = workspace
or, if you don't need to edit any other values or remove it from the Workspace later on, you can clone it without assigning a variable like so:
game.Lighting.OBJECTNAME:clone().Parent = workspace.
To learn more about cloning, visit this page: http://wiki.roblox.com/index.php/Clone

If this does not address your problem, I would suggest providing more detail, and, as others have noted, possibly post in the Scripting Helpers section instead.
Report Abuse
RyanDolan123 is not online. RyanDolan123
Joined: 05 Mar 2009
Total Posts: 17919
12 Mar 2013 07:41 PM
1. Attempt to move it
2. repeat step 1 until it moves

crescendoflip
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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