OsNpcCreate

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(minimal fix of the sample script)
Line 17: Line 17:
 
</source>
 
</source>
 
|  
 
|  
additional_info = This function creates a NPC(Non Player Character) clone from an already existing avatar UUID Key.
+
additional_info = *This function creates a NPC(Non Player Character) clone from an already existing avatar UUID Key.
 
+
*Note: This function may not work as you have intended. See [http://opensimulator.org/mantis/view.php?id=5148 Mantis #5148] for more information.
'''*** This function is broken in OpenSimulator 0.7x ***'''
+
 
|
 
|
 
}}
 
}}

Revision as of 04:56, 29 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(integer number)
    {
       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.
  • Note: This function may not work as you have intended. See Mantis #5148 for more information.
Personal tools
General
About This Wiki