|
| 15 Oct 2013 07:19 AM |
| Why does LoadAsset have to be locked for online use only? No studio? I don't understand, how is that a security threat? This limits plugins a lil' bit... especially my new one. :[ |
|
|
| Report Abuse |
|
|
As8D
|
  |
| Joined: 24 Dec 2009 |
| Total Posts: 2907 |
|
|
| 15 Oct 2013 07:24 AM |
Workspace:InsertContent(string URL)
Also, I didn't knew that LoadAsset was locked for studio mode - only that you couldn't insert assets you or ROBLOX didn't own.
- Evil As, InsertContent puts all the stuff in Workspace and returns a table with the items! |
|
|
| Report Abuse |
|
|
|
| 15 Oct 2013 07:26 AM |
| It doesn't work like that anymore from my understanding; you have to load the asset and then insert it. |
|
|
| Report Abuse |
|
|
As8D
|
  |
| Joined: 24 Dec 2009 |
| Total Posts: 2907 |
|
|
| 15 Oct 2013 07:33 AM |
Well, I don't insert stuff often - only some ROBLOX hats and gears when needed.
But try Workspace:InsertContent - Even though the content in the asset is automatically placed in Workspace, you'll get it (even if you don't own it and it's a Free Model) and you can then place it somewhere else.
- Evil As, they should add a 2nd parameter for InsertContent, disabling auto-parent to Workspace. |
|
|
| Report Abuse |
|
|
| |
|
As8D
|
  |
| Joined: 24 Dec 2009 |
| Total Posts: 2907 |
|
|
| 16 Oct 2013 05:37 AM |
Shur...
NON-CACHED!
- Evil As, ftwhales! |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 16 Oct 2013 06:00 AM |
| GetContent is great too. Insert models from roblox content folder, not cached too. |
|
|
| Report Abuse |
|
|
As8D
|
  |
| Joined: 24 Dec 2009 |
| Total Posts: 2907 |
|
|
| 16 Oct 2013 06:15 AM |
^ Nice one, gotta try it sometime! Though... InsertContent uses string / URL too, so it should be able to get models from your content folder too? Or is it just me?
- Evil As, t-t-t-turn up de blodbad. 0mgw4zupdud. |
|
|
| Report Abuse |
|
|