LSL_BaseClass now receives scene during init
parent
a968d05864
commit
d715b0f66c
|
@ -8,16 +8,19 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
|
|||
public class LSL_BaseClass : LSL_BuiltIn_Commands_Interface
|
||||
{
|
||||
public UInt32 State = 0;
|
||||
internal OpenSim.Region.Environment.Scenes.Scene World;
|
||||
|
||||
public void Start(string FullScriptID)
|
||||
public void Start(OpenSim.Region.Environment.Scenes.Scene _World, string FullScriptID)
|
||||
{
|
||||
World = _World;
|
||||
Common.SendToLog("OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL.LSL_BaseClass.Start() called. FullScriptID: " + FullScriptID);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//
|
||||
// IMPLEMENT THESE!
|
||||
//
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
|
||||
|
||||
|
||||
EventManager.cs
|
||||
---------------
|
||||
* Hook up to the worlds touch-event:
|
||||
myScriptEngine.World.touch_start += new TempWorldInterfaceEventDelegates.touch_start(touch_start);
|
||||
|
||||
* Modify:
|
||||
public void touch_start(string ObjectID)
|
||||
to correct parameters to match the event
|
||||
|
||||
* Make hooks to add/remove script using ScriptManager.cs
|
||||
|
||||
|
||||
|
||||
LSL_BuiltIn_Commands_TestImplementation.cs
|
||||
------------------------------------------
|
||||
* Change llSay to do something useful (send message)
|
||||
|
||||
|
Loading…
Reference in New Issue