I commonly see this in scripts, It has a text named [[Embedded]] and I don't know why it is used by others. Like a weapon tool script have a LinkSource. But it is way more different than Source. Anybody explain me what does L.S do to any scripts?
COMMUNITY QUESTION
What does LinkSource do to a scripts? I can't even understand why does it have it?
1 answer
Used to store a URL that points to an online script source. Binds the online code to the script's Source. It can be the property of BaseScript or Modulescript objects. So it's a feature that allows one piece of source code to be reused across multiple Script objects. So if you have many NPC's or weapons or whatever on a level, it can be helpful instead of copying and pasting the object over and over again. Plus, if you have an error, you'd have to change each individual object's script if you didn't use LinkedSource/LinkedScript.
This discussion is preserved as it was. New answers, comments, and votes are closed.
