User Tools

Site Tools


content

Prompting the user to load an asset from the Content Library pane is accomplished with a content type instruction. A content instruction guides the user, step by step, to a user-facing file to load.

The content instruction is flexible. A result_member member is not needed, as the result is implied by the instruction. Absolute paths are supported, but relative paths are recommended. When using a relative path, if the file is not found at the relative path specified, a search for the file will be performed.

Click the name of the example below to save it as a file.

Interactive_Lesson_Content_Library_Example_1.dsa
var oLessonMgr = MainWindow.getInteractiveLessonMgr();
oLessonMgr.begin([
	{
	"content": "/People/Genesis 2 Female/Genesis 2 Base Female.duf",
	"info": "Merge Genesis 2 Female into the scene."
	}
]);