diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine/XEngine.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index ac3dc13..8376846 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -1264,6 +1264,14 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
1264 | return UUID.Zero; | 1264 | return UUID.Zero; |
1265 | } | 1265 | } |
1266 | 1266 | ||
1267 | public void SetState(UUID itemID, string newState) | ||
1268 | { | ||
1269 | IScriptInstance instance = GetInstance(itemID); | ||
1270 | if (instance == null) | ||
1271 | return; | ||
1272 | instance.SetState(newState); | ||
1273 | } | ||
1274 | |||
1267 | public int GetStartParameter(UUID itemID) | 1275 | public int GetStartParameter(UUID itemID) |
1268 | { | 1276 | { |
1269 | IScriptInstance instance = GetInstance(itemID); | 1277 | IScriptInstance instance = GetInstance(itemID); |