OsNpcCreate
From OpenSimulator
(Difference between revisions)
Line 5: | Line 5: | ||
This function is Rated High on the OS Threat Level. For more on Threat Levels in Opensimulator: see [[Threat_level]]. | This function is Rated High on the OS Threat Level. For more on Threat Levels in Opensimulator: see [[Threat_level]]. | ||
+ | |||
+ | '''*** This function is broken in OpenSimulator 0.7x ***''' | ||
'''Example Usage:''' | '''Example Usage:''' |
Revision as of 09:52, 13 December 2010
Function Syntax:osNpcCreate(string firstname, string lastname, vector position, key cloneFrom);
Returns: key
This function creates a NPC(Non Player Character) clone from an already existing avatar UUID Key.
This function is Rated High on the OS Threat Level. For more on Threat Levels in Opensimulator: see Threat_level.
*** This function is broken in OpenSimulator 0.7x ***
Example Usage:
default { touch_start() { key npc; npc = osNpcCreate("Jane", "Bot", <100,100, 40>, "c40457e2-6e89-4bca-ab4e-d781db63616a"); } }