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: Cloning

Previous Thread :: Next Thread 
meonlyababy is not online. meonlyababy
Joined: 18 May 2009
Total Posts: 479
04 May 2015 09:14 AM
If a script clones something but is then removed is there anyway to retrieve the clone it made?
Report Abuse
meonlyababy is not online. meonlyababy
Joined: 18 May 2009
Total Posts: 479
04 May 2015 09:25 AM
bump
Report Abuse
TheNewChicken is not online. TheNewChicken
Joined: 18 Mar 2015
Total Posts: 1997
04 May 2015 09:27 AM
Parent.Script



EDUH

Why is that mirror broken? Oh, It's just my face. xD
Report Abuse
meonlyababy is not online. meonlyababy
Joined: 18 May 2009
Total Posts: 479
04 May 2015 09:40 AM
How would that work when the script is removed?
Report Abuse
vectorGunner is not online. vectorGunner
Joined: 23 Mar 2014
Total Posts: 784
04 May 2015 09:43 AM
What are you trying to do?
Report Abuse
ganger800 is not online. ganger800
Joined: 06 Dec 2012
Total Posts: 427
04 May 2015 09:45 AM
I think you want something like this:

save the reference to the object in a global table (or send it to another script before the creating script is destroyed)

something like:
_G["object"] = clonedItem

however you need to save the reference somewhere if you want to track it (otherwise its lost, or you can search again where you put it with parent)
Report Abuse
meonlyababy is not online. meonlyababy
Joined: 18 May 2009
Total Posts: 479
04 May 2015 09:46 AM
When a player enters the game a model is cloned removed via a script in a brick, I want to be able to retrieve the clone after the brick in which the script is inside is removed.
Report Abuse
vectorGunner is not online. vectorGunner
Joined: 23 Mar 2014
Total Posts: 784
04 May 2015 09:53 AM
What?! I have no idea what you mean. I need to know WHAT you want not how you are trying to do it. Because how you're trying to do it makes no sense.
Report Abuse
AkatHikari is not online. AkatHikari
Joined: 04 Mar 2012
Total Posts: 545
04 May 2015 09:56 AM
@meon you have to save the clone somewhere

global table, any sort of storage, etc.


Mewo.
Report Abuse
meonlyababy is not online. meonlyababy
Joined: 18 May 2009
Total Posts: 479
04 May 2015 09:57 AM
Player enters game, script clones a model and removes it, script is eventually removed.

How would I go about retrieving the clone after it is removed; do I need to send it somewhere? If so where?
Report Abuse
meonlyababy is not online. meonlyababy
Joined: 18 May 2009
Total Posts: 479
04 May 2015 09:58 AM
Thank you akat
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