mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
Hook up Keyframe motion to almost everything. Failing to cross a sim border
may yield unexpected results in some cases. No database persistence yet,
This commit is contained in:
@@ -748,6 +748,19 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
public static readonly LSLInteger RCERR_SIM_PERF_LOW = -2;
|
||||
public static readonly LSLInteger RCERR_CAST_TIME_EXCEEDED = 3;
|
||||
|
||||
public const int KFM_MODE = 1;
|
||||
public const int KFM_LOOP = 1;
|
||||
public const int KFM_REVERSE = 3;
|
||||
public const int KFM_FORWARD = 0;
|
||||
public const int KFM_PING_PONG = 2;
|
||||
public const int KFM_DATA = 2;
|
||||
public const int KFM_TRANSLATION = 2;
|
||||
public const int KFM_ROTATION = 1;
|
||||
public const int KFM_COMMAND = 0;
|
||||
public const int KFM_CMD_PLAY = 0;
|
||||
public const int KFM_CMD_STOP = 1;
|
||||
public const int KFM_CMD_PAUSE = 2;
|
||||
|
||||
/// <summary>
|
||||
/// process name parameter as regex
|
||||
/// </summary>
|
||||
|
||||
@@ -554,6 +554,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
return m_LSL_Functions.llGetLinkNumberOfSides(link);
|
||||
}
|
||||
|
||||
public void llSetKeyframedMotion(LSL_List frames, LSL_List options)
|
||||
{
|
||||
m_LSL_Functions.llSetKeyframedMotion(frames, options);
|
||||
}
|
||||
|
||||
public LSL_Integer llGetListEntryType(LSL_List src, int index)
|
||||
{
|
||||
return m_LSL_Functions.llGetListEntryType(src, index);
|
||||
|
||||
Reference in New Issue
Block a user