llSetAgentEnvironment
Requires Experience
function ll.SetAgentEnvironment(agent_id: string, transition: number, Settings: {any}): numberSets an agent's environmental values to the specified values. Must be used as part of an experience.
Parameters
agent_id(string)- Agent to receive new environment settings.
transition(number)- Number of seconds over which to apply new settings.
Settings({any})- List of environment settings to replace for agent.
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.SetAgentEnvironment().
Add additional notes, caveats, or tips specific to using this function in SLua/Luau.
See Also
Section titled “See Also”- Related functions can be linked here
- LSL equivalent: llSetAgentEnvironment