OsNpcLookAt

From OpenSimulator

Revision as of 23:45, 15 February 2021 by Djphil (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
integer osNpcLookAt(key npckey, integer type, key targetkey, vector offset)
  • npckey : The key of the npc.
  • type : the type of the lookat a integer < 11, for now, not that clear how viewers do handle them
  • targetkey : a object or avatar target
  • offset : a offset relative to that target or if target is nullkey a GLOBAL position.
Threat Level This function does not do a threat level check
Permissions Use of this function is always allowed by default
Extra Delay 0 seconds
Example(s)
// 
// Example of osNpcLookAt
// 
 
default
{
    state_entry()
    {
        ...
        osNpcLookAt(...);
        ...
    }
}
Notes
This function was added in 0.9.2.0


Personal tools
General
About This Wiki