|
| 03 Feb 2013 11:03 AM |
| Please, can someone tell me how to script part regeneration like there is in games like Kross Roads and Chaos Canyon? I made a place where users can freely use gear, and if they destroy a part I want the part to be able to regenerate later on. |
|
|
| Report Abuse |
|
|
|
| 03 Feb 2013 11:05 AM |
| Does anyone even know how ROBLOX makes his games regenerate now and then? |
|
|
| Report Abuse |
|
|
|
| 03 Feb 2013 11:05 AM |
| check if the parts has been chaged by using the changed event and then use the wait function for however long you want it to wait and then recreate the part |
|
|
| Report Abuse |
|
|
|
| 03 Feb 2013 11:06 AM |
| can you please elaborate a little more? I am still kind of confused |
|
|
| Report Abuse |
|
|
|
| 03 Feb 2013 11:09 AM |
i dont just want to give you code because it would make you come back and want more help but ill try
1) use .changed event to check for change in the part 2) output a message to tell you its done for debugging purposes 3) add the wait function to delay your regeneration of the part 4) output a message to tell you its done for debugging purposes 5) destroy the old part and create a new identical part of the old part 6) output a message to tell you its done for debugging purposes |
|
|
| Report Abuse |
|
|
Garnished
|
  |
| Joined: 09 Apr 2012 |
| Total Posts: 12695 |
|
| |
|
|
| 04 Feb 2013 12:56 AM |
| me? i probably know more than you |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 04 Feb 2013 01:05 AM |
| I'm pretty sure you don't. |
|
|
| Report Abuse |
|
|
|
| 04 Feb 2013 01:12 AM |
| im pretty sure you dont know much |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 04 Feb 2013 01:30 AM |
| Look, I've been in this forum for about 2 years, I know everyone who usually forums here. |
|
|
| Report Abuse |
|
|
|
| 04 Feb 2013 01:33 AM |
oh i see you must post here to be a good scripter
as if there are no other people on roblox that are as good at scripting as one of you |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 04 Feb 2013 02:04 AM |
| I didn't say anything about my Lua knowledge, but that I've been here long enough, to know how good can others script. |
|
|
| Report Abuse |
|
|
|
| 04 Feb 2013 02:07 AM |
i never said anything about you specifically
so you have the ability to tell how good someone can script just by reading a few of their forum posts. |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
| |
|
|
| 04 Feb 2013 02:20 AM |
few hundred posts or only few hundreds people? the abilities of a scripter can easily change over the months
i truly hope you arent assessing these people from all the posts they hav made the knowledge someone holds can differ greatly even over short periods of time |
|
|
| Report Abuse |
|
|
DrHaximus
|
  |
| Joined: 22 Nov 2011 |
| Total Posts: 8410 |
|
|
| 04 Feb 2013 02:22 AM |
| Blak, go home, you're drunk. |
|
|
| Report Abuse |
|
|
|
| 04 Feb 2013 02:23 AM |
| 1 im underage to be drinking 2 if you arent going to contribute to the topic then dont post |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 04 Feb 2013 02:31 AM |
| Our magical fun group members can post when they want, and go home, you're really drunken. |
|
|
| Report Abuse |
|
|
|
| 04 Feb 2013 02:36 AM |
oh i see its a game you play
go home your hurting my brain with your logic |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 04 Feb 2013 02:39 AM |
| I'm at school, nublet. Also go breath fresh air, your head hurts. |
|
|
| Report Abuse |
|
|
|
| 04 Feb 2013 02:43 AM |
im outside, enjoying my time 15 miles away from any form of civilization
transfer schools, your in need of a better education |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 04 Feb 2013 02:52 AM |
| No mom, this interrneetzz! |
|
|
| Report Abuse |
|
|
|
| 04 Feb 2013 03:17 AM |
| you arent half bad zoidberg15 |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
| |
|
| |
|