OsNpcCreate

From OpenSimulator

Revision as of 10:58, 11 June 2011 by Fritigern (Talk | contribs)

Jump to: navigation, search
OsNpcCreate
Threat Level High
Function Syntax
key osNpcCreate(string firstname, string lastname, vector position, key cloneFrom);
Example(s)
default
 {
    touch_start()
    {
       key npc; 
       npc = osNpcCreate("Jane", "Bot", <100,100, 40>, "c40457e2-6e89-4bca-ab4e-d781db63616a");     
    }
 }


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