llReplaceAgentEnvironment
Requires Experience
function ll.ReplaceAgentEnvironment(agent_id: string, transition: number, environment: string): numberReplaces the entire environment for an agent. Must be used as part of an experience.
Parameters
-
agent_id(string) -
transition(number) -
environment(string)
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.ReplaceAgentEnvironment().
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: llReplaceAgentEnvironment