OsAddAgentToGroup
From OpenSimulator
(Difference between revisions)
												
			| Line 1: | Line 1: | ||
{{osslfunc  | {{osslfunc  | ||
|threat_level=None  | |threat_level=None  | ||
| − | |function_syntax=  | + | |function_syntax=osAgentSaveAppearance(key agentId, string notecard)  | 
| + | |function_syntax=osAgentSaveAppearance(key agentId, string notecard, integer includeHuds)    | ||
|ossl_example=<source lang="lsl">  | |ossl_example=<source lang="lsl">  | ||
//  | //  | ||
| − | //   | + | // osAgentSaveAppearance Script Example  | 
| + | // GPLv3 license attributed to the Wizardry and Steamworks group at http://was.fm/opensim:npc  | ||
| + | // touch to save your XML to a notecard named appearance for use with NPC follower and NPC puppeteer script.  | ||
//  | //  | ||
| − | |||
| − | |||
| − | |||
default  | default  | ||
{  | {  | ||
| − | + |      touch_start(integer num)  | |
     {  |      {  | ||
| − | + |          osAgentSaveAppearance(llDetectedKey(0), "appearance");  | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
     }  |      }  | ||
}  | }  | ||
</source>  | </source>  | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
|  | |  | ||
}}  | }}  | ||
Revision as of 02:54, 21 November 2020
osAgentSaveAppearance(key agentId, string notecard, integer includeHuds)
 
 | |
| No descriptions provided | |
| Threat Level | None | 
| Permissions | No permissions specified | 
| Extra Delay | No function delay specified | 
| Example(s) | |
// // osAgentSaveAppearance Script Example // GPLv3 license attributed to the Wizardry and Steamworks group at http://was.fm/opensim:npc // touch to save your XML to a notecard named appearance for use with NPC follower and NPC puppeteer script. // default { touch_start(integer num) { osAgentSaveAppearance(llDetectedKey(0), "appearance"); } }  | |