OSSL Constants
From OpenSimulator
(Difference between revisions)
Line 10: | Line 10: | ||
==== [http://wiki.secondlife.com/wiki/Changed changed() event] ==== | ==== [http://wiki.secondlife.com/wiki/Changed changed() event] ==== | ||
+ | {| cellspacing="0" cellpadding="5" border="1" align="centre" class="sortable" | ||
+ | |- | ||
+ | | '''Name''' || '''Value''' || '''Description''' | ||
+ | |- | ||
+ | | [[OSSL Constants/CHANGED_ANIMATION|CHANGED_ANIMATION]] || 16384 || the set of animations playing on the avatar to whom this object is attached has been changed. | ||
+ | |} | ||
+ | ==== [http://wiki.secondlife.com/wiki/LlRequestSimulatorData llRequestSimulatorData()] and [http://wiki.secondlife.com/wiki/Dataserver dataserver() event] ==== | ||
{| cellspacing="0" cellpadding="5" border="1" align="centre" class="sortable" | {| cellspacing="0" cellpadding="5" border="1" align="centre" class="sortable" | ||
|- | |- | ||
− | | ''' | + | | '''Name''' || '''Value''' || '''Description''' |
|- | |- | ||
− | | [[OSSL Constants/ | + | | [[OSSL Constants/DATA_SIM_RELEASE|DATA_SIM_RELEASE]] || 128 || returns the version of the simulator the script is running in; the string parameter of llRequestSimulatorData is ignored. |
|} | |} | ||
− | |||
==== [http://wiki.secondlife.com/wiki/LlDetectedType llDetectedType()] and [http://wiki.secondlife.com/wiki/LlSensor llSensor()] ==== | ==== [http://wiki.secondlife.com/wiki/LlDetectedType llDetectedType()] and [http://wiki.secondlife.com/wiki/LlSensor llSensor()] ==== | ||
{| cellspacing="0" cellpadding="5" border="1" align="centre" class="sortable" | {| cellspacing="0" cellpadding="5" border="1" align="centre" class="sortable" | ||
|- | |- | ||
− | | ''' | + | | '''Name''' || '''Value''' || '''Description''' |
|- | |- | ||
| [[OSSL Constants/OS_NPC|OS_NPC]] || 0x01000000 ||Target is [[OSSLNPC|NPC]]. Use this instead of NPC ([http://justincc.org/blog/2012/07/25/this-week-in-opensim-dev-week-ending-21st-july-2012/ Justincc's blog]) | | [[OSSL Constants/OS_NPC|OS_NPC]] || 0x01000000 ||Target is [[OSSLNPC|NPC]]. Use this instead of NPC ([http://justincc.org/blog/2012/07/25/this-week-in-opensim-dev-week-ending-21st-july-2012/ Justincc's blog]) | ||
+ | |} | ||
+ | |||
+ | ==== [http://wiki.secondlife.com/wiki/LlSetVehicleVectorParam llSetVehicleVectorParam()] ==== | ||
+ | {| cellspacing="0" cellpadding="5" border="1" align="centre" class="sortable" | ||
+ | |- | ||
+ | | '''Name''' || '''Value''' || '''Description''' | ||
+ | |- | ||
+ | | [[OSSL Constants/VEHICLE_RANGE_BLOCK|VEHICLE_RANGE_BLOCK]] || 45 || | ||
+ | |} | ||
+ | |||
+ | ==== [http://wiki.secondlife.com/wiki/LlSetVehicleRotationParam llSetVehicleRotationParam()] ==== | ||
+ | {| cellspacing="0" cellpadding="5" border="1" align="centre" class="sortable" | ||
+ | |- | ||
+ | | '''Name''' || '''Value''' || '''Description''' | ||
+ | |- | ||
+ | | [[OSSL Constants/VEHICLE_ROLL_FRAME|VEHICLE_ROLL_FRAME]] || 46 || | ||
+ | |} | ||
+ | |||
+ | ==== [http://wiki.secondlife.com/wiki/LlSetVehicleFlags llSetVehicleFlags()] and [http://wiki.secondlife.com/wiki/LlRemoveVehicleFlags llRemoveVehicleFlags()] ==== | ||
+ | {| cellspacing="0" cellpadding="5" border="1" align="centre" class="sortable" | ||
+ | |- | ||
+ | | '''Name''' || '''Value''' || '''Description''' | ||
+ | |- | ||
+ | | [[OSSL Constants/VEHICLE_FLAG_NO_X|VEHICLE_FLAG_NO_X]] || 1024 || | ||
+ | |- | ||
+ | | [[OSSL Constants/VEHICLE_FLAG_NO_Y|VEHICLE_FLAG_NO_Y]] || 2048 || | ||
+ | |- | ||
+ | | [[OSSL Constants/VEHICLE_FLAG_NO_Z|VEHICLE_FLAG_NO_Z]] || 4096 || | ||
+ | |- | ||
+ | | [[OSSL Constants/VEHICLE_FLAG_LOCK_HOVER_HEIGHT|VEHICLE_FLAG_LOCK_HOVER_HEIGHT]] || 8192 || | ||
+ | |- | ||
+ | | [[OSSL Constants/VEHICLE_FLAG_NO_DEFLECTION|VEHICLE_FLAG_NO_DEFLECTION]] || 16392 || | ||
+ | |- | ||
+ | | [[OSSL Constants/VEHICLE_FLAG_LOCK_ROTATION|VEHICLE_FLAG_LOCK_ROTATION]] || 32784 || | ||
+ | |} | ||
+ | |||
+ | ==== [http://wiki.secondlife.com/wiki/LlListStatistics llListStatistics()] ==== | ||
+ | {| cellspacing="0" cellpadding="5" border="1" align="centre" class="sortable" | ||
+ | |- | ||
+ | | '''Name''' || '''Value''' || '''Description''' | ||
+ | |- | ||
+ | | [[OSSL Constants/LIST_STAT_HARMONIC_MEAN|LIST_STAT_HARMONIC_MEAN]] || 100 || | ||
|} | |} | ||
Revision as of 00:36, 18 November 2012
Contents |
OSSL Constants
These are extracted from OpenSimulator DEV 0.7.4 OpenSim-9d66792-r/18996 May 12, 2012
Sources:
- LSL_Constants.cs (OpenSimulator source) for LSL and OSSL Constants
- CM_Constants.cs (OpenSimulator source) for LightShare/Windlight Constants
Additional constants to the LSL functions/events
changed() event
Name | Value | Description |
CHANGED_ANIMATION | 16384 | the set of animations playing on the avatar to whom this object is attached has been changed. |
llRequestSimulatorData() and dataserver() event
Name | Value | Description |
DATA_SIM_RELEASE | 128 | returns the version of the simulator the script is running in; the string parameter of llRequestSimulatorData is ignored. |
llDetectedType() and llSensor()
Name | Value | Description |
OS_NPC | 0x01000000 | Target is NPC. Use this instead of NPC (Justincc's blog) |
llSetVehicleVectorParam()
Name | Value | Description |
VEHICLE_RANGE_BLOCK | 45 |
llSetVehicleRotationParam()
Name | Value | Description |
VEHICLE_ROLL_FRAME | 46 |
llSetVehicleFlags() and llRemoveVehicleFlags()
Name | Value | Description |
VEHICLE_FLAG_NO_X | 1024 | |
VEHICLE_FLAG_NO_Y | 2048 | |
VEHICLE_FLAG_NO_Z | 4096 | |
VEHICLE_FLAG_LOCK_HOVER_HEIGHT | 8192 | |
VEHICLE_FLAG_NO_DEFLECTION | 16392 | |
VEHICLE_FLAG_LOCK_ROTATION | 32784 |
llListStatistics()
Name | Value | Description |
LIST_STAT_HARMONIC_MEAN | 100 |
Back to Scripting Documentation