Difference between revisions of "AvatarExtended"

From Virtual World Web Wiki
Jump to: navigation, search
(Documentation for the AvatarExtended class)
(Documentation for the AvatarExtended class)
Line 8: Line 8:
 
:{{CSharp|IDOMControllerExtended Body {get;} }}
 
:{{CSharp|IDOMControllerExtended Body {get;} }}
 
::
 
::
::The language translation identifier for the currency
+
::The [[DOMControllerExtended]] for the body of the avatar
 +
 
 +
:{{CSharp|string Title {get; set;} }}
 +
::
 +
::The Title of the bot
  
 
===Methods===
 
===Methods===
Line 18: Line 22:
 
::
 
::
 
::Remove a piece of clothing
 
::Remove a piece of clothing
 +
 +
:{{CSharp|void Say(string message)}}
 +
::
 +
::Broadcasts a chat message in the local chat channel that appears to be from the bot
  
 
:{{CSharp|void StopAnimation(string layerName, string animationName)}}
 
:{{CSharp|void StopAnimation(string layerName, string animationName)}}

Revision as of 20:38, 27 November 2017

Represents an avatar which is a collection of DOM nodes starting with a root DOMController object and managed by the Creature Manager component

  • This is a JavaScript visible object

Remarks [edit]

Properties

IDOMControllerExtended Body {get;}
The DOMControllerExtended for the body of the avatar
string Title {get; set;}
The Title of the bot

Methods

void PlayAnimation(string layerName, string animationName, bool looping)
Plays the requested animation on the requested layer
void Remove(string hookpointPath)
Remove a piece of clothing
void Say(string message)
Broadcasts a chat message in the local chat channel that appears to be from the bot
void StopAnimation(string layerName, string animationName)
Same as above, but for bots in a room rather than player avatars
void Wear(string hookpointPath, Guid objectTypeID)
Wear a piece of clothing