Melanie Thielker
|
b16abc8166
Massive tab and trailing space cleanup
|
vor 8 Jahren |
Mandarinka Tasty
|
ec883d0f15
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.
|
vor 8 Jahren |
Mandarinka Tasty
|
5b7986e6be
Setting precise date of creation in NPC's profile.
|
vor 8 Jahren |
UbitUmarov
|
d4e285b1a1
add osNpcSetProfileAbout(LSL_Key npc, string about) to set NPCs profile About text. requires OsNpcCreate rights
|
vor 8 Jahren |
UbitUmarov
|
90b825cda8
if a NPC is owned, allow access if ownerID matchs parcel owner or it is in the access list. option OS_NPC_OBJECT_GROUP it still needed if access is by group (this option should also work with not owned NPC) NEEDS TESTING, may prove to be a bad solution
|
vor 8 Jahren |
UbitUmarov
|
a08c354a07
fix NPCs OS_NPC_OBJECT_GROUP option. group ID needs to be set during creation, before scenepresence.CompleteMovement, set tittle just after it.
|
vor 8 Jahren |
UbitUmarov
|
ee15c51ba4
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.
|
vor 9 Jahren |
UbitUmarov
|
feb78b2910
add several options for NPC creation so abusive use can be reduced (restrictive by default) UNTESTED
|
vor 9 Jahren |
Justin Clark-Casey (justincc)
|
bee3f203cd
Allow scripts in attachments on an owned NPC to call NPC functions on that NPC
|
vor 10 Jahren |
dahlia
|
a8e64cd59a
Overload INPCModule.CreateNPC() to allow agentID to be specified. Note: this is intended for use in region modules and is not exposed to scripts.
|
vor 10 Jahren |
SignpostMarv
|
f560d581bb
document & 80-character width terminal formatting
|
vor 12 Jahren |
Talun
|
1b1f841c6a
Mantis 6063 osNpcTouch.
|
vor 12 Jahren |
dahlia
|
4186fa10f0
remove default values from prior commit since mono cant deal with them
|
vor 12 Jahren |
dahlia
|
b697d0e895
add OS_NPC_RUNNING option to osNpcMoveToTarget() to allow running speed for moving NPCs
|
vor 12 Jahren |
Talun
|
b8114d2b67
Add a version of osNpcSay that takes a channel number Mantis 5747
|
vor 12 Jahren |
Justin Clark-Casey (justincc)
|
9c84a8162f
If NPCModule.CreateNPC() fails to create the required ScenePresence (which should in theory never happen), don't add the NPC to the npc list but return UUID.Zero instead.
|
vor 12 Jahren |
Justin Clark-Casey (justincc)
|
7837c611fb
Add OS_NPC_SENSE_AS_AGENT option to osNpcCreate().
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
9939f94f08
Implement osNpcGetOwner(key npc):key. This returns the owner for an 'owned' NPC, the npc's own key for an 'unowned' NPC and NULL_KEY is the input key was not an npc.
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
ba3491c76e
Add permissions checks for owned avatars to all other osNpc* functions.
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
b47c0d7e51
refactor: Move existing npc owner checks to NPCModule.CheckPermissions() methods and expose on interface for external calls.
|
vor 13 Jahren |
Melanie
|
7518b075b7
Add osNpcCreateOwned to create an owned NPC. Those can be sensed only by the owner, can be destroyed only by the owner and only the owner can save their appearance. Added "NPC" as a flag to llSensor to sense NPCs and exclude them from "AGENT" results.
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
de161585c0
Implement osNpcStand(<npc-id>)
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
0c041ce12f
Implement osNpcSit(). This is still in development so don't trust it
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
50945dd560
add regression test for osNpcCreate when cloning an in-region avatar
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
7f499ff3f3
Add a OS_NPC_LAND_AT_TARGET option to osMoveToTarget()
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
5d6c9644fa
early code to allow scripts to force npcs not to fly when moving to target
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
195c1dc9b8
implement osNpcStopMoveTo() to cancel any current move target
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
e869eeb0bf
Implement first draft functions for saving and loading NPC appearance from storage.
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
61d49d4f63
rename NPC.Autopilot to NPC.MoveToTarget internally. Add method doc to INPCModule
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
513d63455e
Create a very basic initial test which just creates an 'npc' and tests that the scene presence exists
|
vor 13 Jahren |