mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
* More LSL related fun
This commit is contained in:
@@ -12,8 +12,10 @@ namespace OpenSim.Region.Scripting.LSL
|
||||
ScriptInfo scriptInfo;
|
||||
LSL.Engine lindenScriptEngine;
|
||||
|
||||
public LSLScript(string filename)
|
||||
public LSLScript(string filename, libsecondlife.LLUUID taskObject)
|
||||
{
|
||||
scriptInfo.CreateTaskAPI(taskObject);
|
||||
|
||||
lindenScriptEngine = new Engine();
|
||||
lindenScriptEngine.Start(filename);
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace OpenSim.Region.Scripting
|
||||
|
||||
public Dictionary<string, IScript> compile(string filename)
|
||||
{
|
||||
LSLScript script = new LSLScript(filename);
|
||||
LSLScript script = new LSLScript(filename, libsecondlife.LLUUID.Zero);
|
||||
Dictionary<string, IScript> returns = new Dictionary<string, IScript>();
|
||||
|
||||
returns.Add(filename, script);
|
||||
|
||||
Reference in New Issue
Block a user