OsNpcCreate

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
{| width="100%" style="border: thin solid black"
+
{{osslfunc|
| colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}'''
+
threat_level = High
|- valign="top"
+
|
|'''Threat Level''' || High
+
function_syntax = <source lang="lsl">
 
+
|- valign="top"
+
|'''Function Syntax''' || <source lang="lsl">
+
 
key osNpcCreate(string firstname, string lastname, vector position, key cloneFrom);
 
key osNpcCreate(string firstname, string lastname, vector position, key cloneFrom);
 
</source>
 
</source>
|- valign="top"
+
|
|'''Example(s)||<source lang="lsl">
+
ossl_example = <source lang="lsl">
 
  default
 
  default
 
  {
 
  {
Line 19: Line 16:
 
  }
 
  }
 
</source>
 
</source>
 
+
|  
 
+
additional_info = This function creates a NPC(Non Player Character) clone from an already existing avatar UUID Key.
|}
+
 
+
This function creates a NPC(Non Player Character) clone from an already existing avatar UUID Key.
+
  
 
'''*** This function is broken in OpenSimulator 0.7x ***'''
 
'''*** This function is broken in OpenSimulator 0.7x ***'''
 
+
|
[[Category:OSSL Functions]]
+
}}

Revision as of 16:03, 12 June 2011

key osNpcCreate(string firstname, string lastname, vector position, key cloneFrom);
No descriptions provided
Threat Level High
Permissions No permissions specified
Extra Delay No function delay specified
Example(s)
default
 {
    touch_start()
    {
       key npc; 
       npc = osNpcCreate("Jane", "Bot", <100,100, 40>, "c40457e2-6e89-4bca-ab4e-d781db63616a");     
    }
 }
Notes
This function creates a NPC(Non Player Character) clone from an already existing avatar UUID Key.

*** This function is broken in OpenSimulator 0.7x ***

Personal tools
General
About This Wiki