OsReplaceAgentEnvironment

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Created page with "{{osslfunc |threat_level=Moderate |permissions= osReplaceAgentEnvironment |delay=0 |function_syntax=integer osReplaceAgentEnvironment(key agentKey, integer transition, string ...")
 
Line 1: Line 1:
 
{{osslfunc
 
{{osslfunc
 
|threat_level=Moderate
 
|threat_level=Moderate
|permissions= osReplaceAgentEnvironment
+
|permissions= ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER
 
|delay=0
 
|delay=0
 
|function_syntax=integer osReplaceAgentEnvironment(key agentKey, integer transition, string daycycle)
 
|function_syntax=integer osReplaceAgentEnvironment(key agentKey, integer transition, string daycycle)

Revision as of 13:19, 3 July 2020

integer osReplaceAgentEnvironment(key agentKey, integer transition, string daycycle)
Forces a dayclycle on a agent. Will do nothing if the agent is using a viewer local environment
  • If parameter daycycle is NULL_KEY or "", agent will see normal environment for parcel or region,
  • daycycle can be a name of a daycycle asset on prim contents. If it is a UUID it can also be grid asset.
  • if return value is negative, it failed.
  • transition should be the viewer transition time to the new one. May not work on most viewers.
Threat Level Moderate
Permissions ${OSSL
Delay 0 seconds
Example(s)
//
Notes
Added in 0.9.2
Personal tools
General
About This Wiki