aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs48
1 files changed, 29 insertions, 19 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs
index 0f8cbdc..ee48ec4 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs
@@ -173,25 +173,35 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
173 173
174 LSL_List osGetLinkPrimitiveParams(int linknumber, LSL_List rules); 174 LSL_List osGetLinkPrimitiveParams(int linknumber, LSL_List rules);
175 175
176 key osNpcCreate(string user, string name, vector position, string notecard); 176 key osNpcCreate(string user, string name, vector position, string notecard);
177 key osNpcCreate(string user, string name, vector position, string notecard, int options); 177 key osNpcCreate(string user, string name, vector position, string notecard, int options);
178 LSL_Key osNpcSaveAppearance(key npc, string notecard); 178 LSL_Key osNpcSaveAppearance(key npc, string notecard);
179 void osNpcLoadAppearance(key npc, string notecard); 179 void osNpcLoadAppearance(key npc, string notecard);
180 vector osNpcGetPos(key npc); 180 vector osNpcGetPos(key npc);
181 void osNpcMoveTo(key npc, vector position); 181 void osNpcMoveTo(key npc, vector position);
182 void osNpcMoveToTarget(key npc, vector target, int options); 182 void osNpcMoveToTarget(key npc, vector target, int options);
183 rotation osNpcGetRot(key npc); 183
184 void osNpcSetRot(LSL_Key npc, rotation rot); 184 /// <summary>
185 void osNpcStopMoveToTarget(LSL_Key npc); 185 /// Get the owner of the NPC
186 void osNpcSay(key npc, string message); 186 /// </summary>
187 void osNpcSit(key npc, key target, int options); 187 /// <param name="npc"></param>
188 void osNpcStand(LSL_Key npc); 188 /// <returns>
189 void osNpcRemove(key npc); 189 /// The owner of the NPC for an owned NPC. The NPC's agent id for an unowned NPC. UUID.Zero if the key is not an npc.
190 void osNpcPlayAnimation(LSL_Key npc, string animation); 190 /// </returns>
191 void osNpcStopAnimation(LSL_Key npc, string animation); 191 LSL_Key osNpcGetOwner(key npc);
192 192
193 LSL_Key osOwnerSaveAppearance(string notecard); 193 rotation osNpcGetRot(key npc);
194 LSL_Key osAgentSaveAppearance(key agentId, string notecard); 194 void osNpcSetRot(LSL_Key npc, rotation rot);
195 void osNpcStopMoveToTarget(LSL_Key npc);
196 void osNpcSay(key npc, string message);
197 void osNpcSit(key npc, key target, int options);
198 void osNpcStand(LSL_Key npc);
199 void osNpcRemove(key npc);
200 void osNpcPlayAnimation(LSL_Key npc, string animation);
201 void osNpcStopAnimation(LSL_Key npc, string animation);
202
203 LSL_Key osOwnerSaveAppearance(string notecard);
204 LSL_Key osAgentSaveAppearance(key agentId, string notecard);
195 205
196 key osGetMapTexture(); 206 key osGetMapTexture();
197 key osGetRegionMapTexture(string regionName); 207 key osGetRegionMapTexture(string regionName);