Melanie Thielker
|
b16abc8166
Massive tab and trailing space cleanup
|
před 7 roky |
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.
|
před 7 roky |
Mandarinka Tasty
|
5b7986e6be
Setting precise date of creation in NPC's profile.
|
před 7 roky |
UbitUmarov
|
d4e285b1a1
add osNpcSetProfileAbout(LSL_Key npc, string about) to set NPCs profile About text. requires OsNpcCreate rights
|
před 7 roky |
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
|
před 8 roky |
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.
|
před 8 roky |
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.
|
před 8 roky |
UbitUmarov
|
feb78b2910
add several options for NPC creation so abusive use can be reduced (restrictive by default) UNTESTED
|
před 9 roky |
Justin Clark-Casey (justincc)
|
bee3f203cd
Allow scripts in attachments on an owned NPC to call NPC functions on that NPC
|
před 9 roky |
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.
|
před 10 roky |
SignpostMarv
|
f560d581bb
document & 80-character width terminal formatting
|
před 12 roky |
Talun
|
1b1f841c6a
Mantis 6063 osNpcTouch.
|
před 12 roky |
dahlia
|
4186fa10f0
remove default values from prior commit since mono cant deal with them
|
před 12 roky |
dahlia
|
b697d0e895
add OS_NPC_RUNNING option to osNpcMoveToTarget() to allow running speed for moving NPCs
|
před 12 roky |
Talun
|
b8114d2b67
Add a version of osNpcSay that takes a channel number Mantis 5747
|
před 12 roky |
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.
|
před 12 roky |
Justin Clark-Casey (justincc)
|
7837c611fb
Add OS_NPC_SENSE_AS_AGENT option to osNpcCreate().
|
před 12 roky |
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.
|
před 12 roky |
Justin Clark-Casey (justincc)
|
ba3491c76e
Add permissions checks for owned avatars to all other osNpc* functions.
|
před 12 roky |
Justin Clark-Casey (justincc)
|
b47c0d7e51
refactor: Move existing npc owner checks to NPCModule.CheckPermissions() methods and expose on interface for external calls.
|
před 12 roky |
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.
|
před 12 roky |
Justin Clark-Casey (justincc)
|
de161585c0
Implement osNpcStand(<npc-id>)
|
před 13 roky |
Justin Clark-Casey (justincc)
|
0c041ce12f
Implement osNpcSit(). This is still in development so don't trust it
|
před 13 roky |
Justin Clark-Casey (justincc)
|
50945dd560
add regression test for osNpcCreate when cloning an in-region avatar
|
před 13 roky |
Justin Clark-Casey (justincc)
|
7f499ff3f3
Add a OS_NPC_LAND_AT_TARGET option to osMoveToTarget()
|
před 13 roky |
Justin Clark-Casey (justincc)
|
5d6c9644fa
early code to allow scripts to force npcs not to fly when moving to target
|
před 13 roky |
Justin Clark-Casey (justincc)
|
195c1dc9b8
implement osNpcStopMoveTo() to cancel any current move target
|
před 13 roky |
Justin Clark-Casey (justincc)
|
e869eeb0bf
Implement first draft functions for saving and loading NPC appearance from storage.
|
před 13 roky |
Justin Clark-Casey (justincc)
|
61d49d4f63
rename NPC.Autopilot to NPC.MoveToTarget internally. Add method doc to INPCModule
|
před 13 roky |
Justin Clark-Casey (justincc)
|
513d63455e
Create a very basic initial test which just creates an 'npc' and tests that the scene presence exists
|
před 13 roky |