mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
* Makes Second Life environment sensor ranges and maximum response number configurable * Thanks Intimidated
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user