| 136 |
|
|
| 137 |
public void SetMass(string vId, float vMass) |
public void SetMass(string vId, float vMass) |
| 138 |
{ |
{ |
| 139 |
throw new NotImplementedException("SetMass not implemented"); |
m_log.Warn("[REXSCRIPT]: SetMass not implemented"); |
| 140 |
//SceneObjectPart tempobj = myScriptEngine.World.GetSceneObjectPart(System.Convert.ToUInt32(vId, 10)); |
//SceneObjectPart tempobj = myScriptEngine.World.GetSceneObjectPart(System.Convert.ToUInt32(vId, 10)); |
| 141 |
//if (tempobj != null) |
//if (tempobj != null) |
| 142 |
//{ |
//{ |
| 163 |
|
|
| 164 |
public bool GetUsePrimVolumeCollision(string vId) |
public bool GetUsePrimVolumeCollision(string vId) |
| 165 |
{ |
{ |
| 166 |
throw new NotImplementedException("GetUsePrimVolumeCollision not implemented"); |
m_log.Warn("[REXSCRIPT]: GetUsePrimVolumeCollision not implemented"); |
| 167 |
|
return false; |
| 168 |
//SceneObjectPart tempobj = myScriptEngine.World.GetSceneObjectPart(System.Convert.ToUInt32(vId, 10)); |
//SceneObjectPart tempobj = myScriptEngine.World.GetSceneObjectPart(System.Convert.ToUInt32(vId, 10)); |
| 169 |
//if (tempobj != null) |
//if (tempobj != null) |
| 170 |
//{ |
//{ |
| 179 |
|
|
| 180 |
public void SetUsePrimVolumeCollision(string vId, bool vUseVolumeCollision) |
public void SetUsePrimVolumeCollision(string vId, bool vUseVolumeCollision) |
| 181 |
{ |
{ |
| 182 |
throw new NotImplementedException("SetUsePrimVolumeCollision not implemented"); |
m_log.Warn("[REXSCRIPT]: SetUsePrimVolumeCollision not implemented"); |
| 183 |
//SceneObjectPart tempobj = myScriptEngine.World.GetSceneObjectPart(System.Convert.ToUInt32(vId, 10)); |
//SceneObjectPart tempobj = myScriptEngine.World.GetSceneObjectPart(System.Convert.ToUInt32(vId, 10)); |
| 184 |
//if (tempobj != null) |
//if (tempobj != null) |
| 185 |
//{ |
//{ |
| 219 |
// ****************************** |
// ****************************** |
| 220 |
public void SendGeneralAlertAll(string vId, string vMessage) |
public void SendGeneralAlertAll(string vId, string vMessage) |
| 221 |
{ |
{ |
| 222 |
throw new NotImplementedException("SendGeneralAlertAll not implemented"); |
m_log.Warn("[REXSCRIPT]: SendGeneralAlertAll not implemented"); |
| 223 |
//TODO: Fix this. Broken in newest OpenSim |
//TODO: Fix this. Broken in newest OpenSim |
| 224 |
//myScriptEngine.World.SendGeneralAlert(vMessage); |
//myScriptEngine.World.SendGeneralAlert(vMessage); |
| 225 |
} |
} |
| 304 |
|
|
| 305 |
public string SpawnActor(LSL_Types.Vector3 location, int shape, bool temporary, string pythonClass) |
public string SpawnActor(LSL_Types.Vector3 location, int shape, bool temporary, string pythonClass) |
| 306 |
{ |
{ |
|
//throw new NotImplementedException("Could not spawn actor to scene"); |
|
| 307 |
UUID TempID = myScriptEngine.World.RegionInfo.MasterAvatarAssignedUUID; |
UUID TempID = myScriptEngine.World.RegionInfo.MasterAvatarAssignedUUID; |
| 308 |
Vector3 pos = new Vector3((float)location.x, (float)location.y, (float)location.z); |
Vector3 pos = new Vector3((float)location.x, (float)location.y, (float)location.z); |
| 309 |
Quaternion rot = new Quaternion(0.0f, 0.0f, 0.0f, 1.0f); |
Quaternion rot = new Quaternion(0.0f, 0.0f, 0.0f, 1.0f); |
| 321 |
|
|
| 322 |
public bool DestroyActor(string vId) |
public bool DestroyActor(string vId) |
| 323 |
{ |
{ |
| 324 |
throw new NotImplementedException("DestroyActor not implemented"); |
m_log.Warn("[REXSCRIPT]: DestroyActor not implemented"); |
| 325 |
|
return true; |
| 326 |
//EntityBase tempobj = GetEntityBase(System.Convert.ToUInt32(vId, 10)); |
//EntityBase tempobj = GetEntityBase(System.Convert.ToUInt32(vId, 10)); |
| 327 |
//if (tempobj != null && tempobj is RexObjects.RexObjectGroup) |
//if (tempobj != null && tempobj is RexObjects.RexObjectGroup) |
| 328 |
//{ |
//{ |