diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs index 627b2a7..875b29e 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | |||
@@ -611,5 +611,15 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
611 | 611 | ||
612 | return null; | 612 | return null; |
613 | } | 613 | } |
614 | |||
615 | public int GetStartParameter(UUID itemID) | ||
616 | { | ||
617 | |||
618 | uint localID = GetLocalID(itemID); | ||
619 | |||
620 | InstanceData id = GetScript(localID, itemID); | ||
621 | |||
622 | return id.StartParam; | ||
623 | } | ||
614 | } | 624 | } |
615 | } | 625 | } |