Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Region owner extended scripting functions

Kyrah Abattoir
cruelty delight
Join date: 4 Jun 2004
Posts: 2,786
08-20-2005 12:26
Allowing to a region owner extended scripting toolset for the management of theyr server and a special script container that is tied to theyr region:


events accessible for region owners:

on_agent_rez()
will trigger each time a new agent come in the sim

agent_attach(key agent,key attachment,integer attachment_point)
will trigger each time an attacment is attached or removed from any agent in the sim
key agent, would return the agent key
key attachment, the attachment key
attachment_point, the constant determinating the attachment point

agent_rez(key rezzed_object)
ok this one might make too much stress, but the idea is to call it each time someone rez something in the sim and return the key of the rezzed object

functions accessible only to the region owner:

llRemoteDetach(key id)
allow a script owned by the sim owner to detach an attachments designated by the key "id" from its attacchment point without any permission

llRemoteReturn(key id)
allow a script owned by the sim owner to return the object indicated by key id

llRemoteDelete(key id)
allow a script owned by the sim owner to delete the object indicated by key id

llRegionSunTexture(key id)
allow a script owned by the sim owner to set the sun texture

llRegionMoonTexture(key id)
allow a script owned by the sim owner to set the moon texture

llRegionDayCycle(float seconds)
allow a script owned by the sim owner to set the length of the day time

llRegionNightCycle(float seconds)
allow a script owned by the sim owner to set the length of the day night time

llRegionBuoyancy(float value)
allow a script owned by the sim owner to set the default buoyancy for every physical objects (agents and objects) to simulate different gravity

llRegionSunAngle(float value,integer fixed)
allow a script owned by the sim owner to set the current sun angle and to define if it is locked or not

llSetRegiontextures(list textures)
allow a script owned by the sim owner to set the ground textures

llSetRegionWaterLevel(float height,float tau)
allow a script owned by the sim owner to set the water level, the water will move to its new height with the speed defined by tau

llSetRegionWaterColor(vector color)
allow a script owned by the sim owner to set the water color

llSetRegionWaterTexture(key texture)
allow a script owned by the sim owner to set the water texture

and now one quite not probable
llResetServer()
restart the sim manually
_____________________

tired of XStreetSL? try those!
apez http://tinyurl.com/yfm9d5b
metalife http://tinyurl.com/yzm3yvw
metaverse exchange http://tinyurl.com/yzh7j4a
slapt http://tinyurl.com/yfqah9u
Lance Mirabeau
Pees in the shower
Join date: 23 Jul 2005
Posts: 108
08-20-2005 12:29
I like the on_agent_rez, and the textures/sun/time ones-

But not the attachments. Island owners can already ban/allow people from their sim- why would they possibly need the attachments?

EDIT: Also, the delete/return ones are dangerous.
_____________________
Sometimes, I think I taste like raspberry Jello...
Obscuro Valkyrie
SL's Resident Vampyre
Join date: 22 Oct 2003
Posts: 72
08-20-2005 12:38
Looks like alot here to utilize
_____________________
"I will be immortal until the day I die"
Kyrah Abattoir
cruelty delight
Join date: 4 Jun 2004
Posts: 2,786
08-20-2005 12:43
From: Lance Mirabeau
I like the on_agent_rez, and the textures/sun/time ones-

But not the attachments. Island owners can already ban/allow people from their sim- why would they possibly need the attachments?

EDIT: Also, the delete/return ones are dangerous.


well lets imagine you wanna create some kind of game that use attachments, this would allow you to check for attachments autorisation, like removing stuffs like pushguns

dont forget peoples especially love to DESTROY what you tried to create
_____________________

tired of XStreetSL? try those!
apez http://tinyurl.com/yfm9d5b
metalife http://tinyurl.com/yzm3yvw
metaverse exchange http://tinyurl.com/yzh7j4a
slapt http://tinyurl.com/yfqah9u