OsAgentSaveAppearance

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (Added note stating which version of OpenSim introduced this function)
Line 1: Line 1:
 
{{osslfunc
 
{{osslfunc
 
|function_syntax=key osAgentSaveAppearance(key agentId, string notecard)
 
|function_syntax=key osAgentSaveAppearance(key agentId, string notecard)
|csharp_syntax=
+
|function_syntax=key osAgentSaveAppearance(key agentId, string notecard, integer includeHuds)
|description=Save an arbitrary avatar's appearance to a notecard in the prim's inventory. This includes body part data, clothing items and attachments. If a notecard with the same name already exists then it is replaced. The avatar must be present in the region when this function is invoked. The baked textures for the avatar (necessary to recreate appearance on the NPC) are saved permanently.
+
 
 +
|description=Save an arbitrary avatar's appearance to a notecard in the prim's inventory. This includes body part data, clothing items and attachments. If a notecard with the same name already exists then it is replaced. The avatar must be present in the region when this function is invoked. The baked textures for the avatar (necessary to recreate appearance on the NPC) are saved permanently.<br>
 +
The first variant will include HUDs, the second variant allows control that.
 
|threat_level=VeryHigh
 
|threat_level=VeryHigh
 
|permissions=ESTATE_MANAGER,ESTATE_OWNER
 
|permissions=ESTATE_MANAGER,ESTATE_OWNER
 
|delay=0
 
|delay=0
 
|ossl_example=
 
|ossl_example=
|additional_info=This function was added in 0.7.2-post-fixes
+
|additional_info=This function was added in 0.7.2-post-fixes, huds control  added in0.9.2
 
}}
 
}}

Revision as of 13:10, 1 June 2020

key osAgentSaveAppearance(key agentId, string notecard, integer includeHuds)
Save an arbitrary avatar's appearance to a notecard in the prim's inventory. This includes body part data, clothing items and attachments. If a notecard with the same name already exists then it is replaced. The avatar must be present in the region when this function is invoked. The baked textures for the avatar (necessary to recreate appearance on the NPC) are saved permanently.

The first variant will include HUDs, the second variant allows control that.

Threat Level VeryHigh
Permissions ESTATE_MANAGER,ESTATE_OWNER
Extra Delay 0 seconds
Notes
This function was added in 0.7.2-post-fixes, huds control added in0.9.2
Personal tools
General
About This Wiki