mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
add npc create option OS_NPC_OBJECT_GROUP. with it the npc will be created with the group of the object with the script, if that object owner is member of that group. This should allow parcel access by group to work now, and not much else. The groupTitle will also be set, it the region option NoNPCGroup is not active.
This commit is contained in:
@@ -38,7 +38,8 @@ namespace OpenSim.Region.Framework.Interfaces
|
||||
AllowNotOwned = 0x01, // allow NPCs to be created not Owned
|
||||
AllowSenseAsAvatar = 0x02, // allow NPCs to set to be sensed as Avatars
|
||||
AllowCloneOtherAvatars = 0x04, // allow NPCs to created cloning a avatar in region
|
||||
NoNPCGroup = 0x08 // NPCs will have no group title, otherwise will have "- NPC -"
|
||||
NoNPCGroup = 0x08, // NPCs will have no group title, otherwise will have "- NPC -"
|
||||
objectGroup = 0x10 // NPC will have host sog groupID
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -48,12 +49,14 @@ namespace OpenSim.Region.Framework.Interfaces
|
||||
/// </summary>
|
||||
public interface INPC
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Should this NPC be sensed by LSL sensors as an 'agent'
|
||||
/// (interpreted here to mean a normal user) rather than an OpenSim
|
||||
/// specific NPC extension?
|
||||
/// </summary>
|
||||
bool SenseAsAgent { get; }
|
||||
UUID ActiveGroupId { get; set; }
|
||||
}
|
||||
|
||||
public interface INPCModule
|
||||
|
||||
Reference in New Issue
Block a user