ll.SetAgentEnvironment(agent_id: uuid, transition: number, Settings: list) : number
Sets an agent's environmental values to the specified values. Must be used as part of an experience.
ll.SetAgentEnvironment(uuid(<key>), 3.14, {})
{
"def": "func",
"desc": "Sets an agent's environmental values to the specified values. Must be used as part of an experience.",
"energy": 10,
"sleep": 0,
"pure": false,
"link": "https://wiki.secondlife.com/wiki/LlSetAgentEnvironment",
"name": "SetAgentEnvironment",
"signatures": [
{
"result": [
{
"name": "",
"def": "result",
"desc": "",
"variadic": false,
"type": [
"number"
],
"optional": false
}
],
"args": [
{
"def": "arg",
"name": "agent_id",
"desc": "Agent to receive new environment settings.",
"type": [
"uuid",
"string"
],
"variadic": false,
"optional": false
},
{
"def": "arg",
"name": "transition",
"desc": "Number of seconds over which to apply new settings.",
"type": [
"number"
],
"variadic": false,
"optional": false
},
{
"def": "arg",
"name": "Settings",
"desc": "List of environment settings to replace for agent.",
"type": [
"list"
],
"variadic": false,
"optional": false
}
]
}
]
}