* 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)
|
||||
{
|
||||
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();
|
||||
|
|
|
@ -1070,6 +1070,10 @@
|
|||
; up the system to malicious scripters
|
||||
; NotecardLineReadCharsMax = 255
|
||||
|
||||
; Sensor settings
|
||||
SensorMaxRange = 96.0
|
||||
SensorMaxResults = 16
|
||||
|
||||
; OS Functions enable/disable
|
||||
; For each function, you can add one line, as shown
|
||||
; The default for all functions allows them if below threat level
|
||||
|
|
Loading…
Reference in New Issue