* Makes Second Life environment sensor ranges and maximum response number configurable * Thanks Intimidated0.6.5-rc1
parent
d0d481a0ab
commit
513ae92bbb
|
@ -43,6 +43,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins
|
||||||
public SensorRepeat(AsyncCommandManager CmdManager)
|
public SensorRepeat(AsyncCommandManager CmdManager)
|
||||||
{
|
{
|
||||||
m_CmdManager = CmdManager;
|
m_CmdManager = CmdManager;
|
||||||
|
maximumRange = CmdManager.m_ScriptEngine.Config.GetDouble("SensorMaxRange", 96.0d);
|
||||||
|
maximumToReturn = CmdManager.m_ScriptEngine.Config.GetInt("SensorMaxResults", 16);
|
||||||
}
|
}
|
||||||
|
|
||||||
private Object SenseLock = new Object();
|
private Object SenseLock = new Object();
|
||||||
|
|
|
@ -1070,6 +1070,10 @@
|
||||||
; up the system to malicious scripters
|
; up the system to malicious scripters
|
||||||
; NotecardLineReadCharsMax = 255
|
; NotecardLineReadCharsMax = 255
|
||||||
|
|
||||||
|
; Sensor settings
|
||||||
|
SensorMaxRange = 96.0
|
||||||
|
SensorMaxResults = 16
|
||||||
|
|
||||||
; OS Functions enable/disable
|
; OS Functions enable/disable
|
||||||
; For each function, you can add one line, as shown
|
; For each function, you can add one line, as shown
|
||||||
; The default for all functions allows them if below threat level
|
; The default for all functions allows them if below threat level
|
||||||
|
|
Loading…
Reference in New Issue