mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
New OSSL function: osNpcSetProfileImage(LSL_Key npc, string image); This patch gives possibility to set image in created NPC's profile. You can use UUID of the texture or name of texture included in prim's inventory.
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com> Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
This commit is contained in:
committed by
UbitUmarov
parent
69776aa70c
commit
ec883d0f15
@@ -1011,7 +1011,7 @@ namespace OpenSim.Region.CoreModules.Avatar.UserProfiles
|
||||
{
|
||||
remoteClient.SendAvatarProperties(avatarID, ((INPC)(p.ControllingClient)).profileAbout, ((INPC)(p.ControllingClient)).Born,
|
||||
Utils.StringToBytes("Non Player Character (NPC)"), "NPCs have no life", 16,
|
||||
UUID.Zero, UUID.Zero, "", UUID.Zero);
|
||||
UUID.Zero, ((INPC)(p.ControllingClient)).profileImage, "", UUID.Zero);
|
||||
remoteClient.SendAvatarInterestsReply(avatarID, 0, "",
|
||||
0, "Getting into trouble", "Droidspeak");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user