TallFlo
|
  |
| Joined: 23 Feb 2011 |
| Total Posts: 19 |
|
|
| 08 Aug 2015 03:41 PM |
| I need help with LinkedSource. I can't seem to find the option to publish it as a linkedsource (When i right click on the script i want to make linkable). |
|
|
| Report Abuse |
|
|
Syndir
|
  |
| Joined: 21 Jul 2014 |
| Total Posts: 143 |
|
|
| 08 Aug 2015 03:46 PM |
You have to do script.LinkedSource=math.floor('linkedSource'..script.Source)
game:UploadLinkedSource(script) |
|
|
| Report Abuse |
|
|
TallFlo
|
  |
| Joined: 23 Feb 2011 |
| Total Posts: 19 |
|
|
| 08 Aug 2015 04:09 PM |
| I have to put that in the script i want to make LinkedSource? Sorry if i sound stupid :/ |
|
|
| Report Abuse |
|
|
Syndir
|
  |
| Joined: 21 Jul 2014 |
| Total Posts: 143 |
|
| |
|
TallFlo
|
  |
| Joined: 23 Feb 2011 |
| Total Posts: 19 |
|
|
| 08 Aug 2015 04:16 PM |
| Alright thank you! So i put this in the script i want to be linkedsource. And now how do i call the source in another script? |
|
|
| Report Abuse |
|
|
Syndir
|
  |
| Joined: 21 Jul 2014 |
| Total Posts: 143 |
|
|
| 08 Aug 2015 04:27 PM |
| Just set the LinkedSource to the assetId and it will work fine. |
|
|
| Report Abuse |
|
|
TallFlo
|
  |
| Joined: 23 Feb 2011 |
| Total Posts: 19 |
|
|
| 08 Aug 2015 04:48 PM |
| Thanks for the fast responses. However where can i find the assetid? |
|
|
| Report Abuse |
|
|
Syndir
|
  |
| Joined: 21 Jul 2014 |
| Total Posts: 143 |
|
|
| 08 Aug 2015 04:50 PM |
| I forgot you have to make it as a model |
|
|
| Report Abuse |
|
|
TallFlo
|
  |
| Joined: 23 Feb 2011 |
| Total Posts: 19 |
|
|
| 08 Aug 2015 04:54 PM |
Thanks i made it a model and copied the id. But i get this error:
"Failed to load source (281453328) for Workspace.Part.Script. The LinkedSource name may have changed or been removed" |
|
|
| Report Abuse |
|
|
TallFlo
|
  |
| Joined: 23 Feb 2011 |
| Total Posts: 19 |
|
| |
|