diff options
author | Vegaslon | 2014-10-09 09:46:17 -0400 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-10-11 00:04:25 +0100 |
commit | 79a4d1ea8d6e51ed3d001b70e7da325a89ce92c8 (patch) | |
tree | 11b0b365abdc0f037ba1aef3c115510ad7c56710 /OpenSim/Region/ScriptEngine/Shared/Api/Interface | |
parent | minor: add --default-user option to "load oar" help long description. Do oth... (diff) | |
download | opensim-SC-79a4d1ea8d6e51ed3d001b70e7da325a89ce92c8.zip opensim-SC-79a4d1ea8d6e51ed3d001b70e7da325a89ce92c8.tar.gz opensim-SC-79a4d1ea8d6e51ed3d001b70e7da325a89ce92c8.tar.bz2 opensim-SC-79a4d1ea8d6e51ed3d001b70e7da325a89ce92c8.tar.xz |
Implements osForceSit(string avatar) & overload osForceSit(string avatar, string target)
Allows a script IN the target prim to force an avatar to sit on it using normal methods as if called by the client.
Overload method of osForceSit() to allow a script NOT in the target prim to force an avatar to sit on the target prim using normal methods as if called by the client.
This patch is based on previous work from
http://opensimulator.org/mantis/view.php?id=4492
and also includes the suggestions from justincc including change of threat level
Thank you Christos Lightling.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Interface')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs index 41d13ea..83a0808 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | |||
@@ -363,6 +363,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces | |||
363 | LSL_Float osGetHealth(string avatar); | 363 | LSL_Float osGetHealth(string avatar); |
364 | void osCauseHealing(string avatar, double healing); | 364 | void osCauseHealing(string avatar, double healing); |
365 | void osCauseDamage(string avatar, double damage); | 365 | void osCauseDamage(string avatar, double damage); |
366 | void osForceSit(string avatar); | ||
367 | void osForceSit(string avatar, string target); | ||
366 | LSL_List osGetPrimitiveParams(LSL_Key prim, LSL_List rules); | 368 | LSL_List osGetPrimitiveParams(LSL_Key prim, LSL_List rules); |
367 | void osSetPrimitiveParams(LSL_Key prim, LSL_List rules); | 369 | void osSetPrimitiveParams(LSL_Key prim, LSL_List rules); |
368 | void osSetProjectionParams(bool projection, LSL_Key texture, double fov, double focus, double amb); | 370 | void osSetProjectionParams(bool projection, LSL_Key texture, double fov, double focus, double amb); |