Child pages
  • agent

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Hidden
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
		THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE


HTML Table
classservoy sSummary
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Property Summary
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#x
Gets or sets the x position of the agent.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#y
Gets or sets the y position of the agent.

HTML Table
classservoy sSummary
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Method Summary
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setBalloonSize(width, height)
Sets the size of the balloon.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setImageURL(url)
Sets a new image for the agent.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setLocation(x, y)
Sets the location of the agent.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setVisible(visible)
Show/hides the agent.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#speak(message)
Makes the agent speak.

HTML Table
idproperty
classservoy sDetail
Colgroup Tag
Column
padding0px
width100%

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan1
Property Details
Table Body (tbody)
idx
classnode
Table Row (tr)
idname
Table Cell (td)
x
Table Row (tr)
iddes
Table Cell (td)
Gets or sets the x position of the agent.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
//move the agent diagonaly
plugins.agent.x = plugins.agent.x-10;
plugins.agent.y = plugins.agent.y-10;
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idy
classnode
Table Row (tr)
idname
Table Cell (td)
y
Table Row (tr)
iddes
Table Cell (td)
Gets or sets the y position of the agent.
Table Row (tr)
idret
Table Cell (td)
Returns
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
//move the agent diagonaly
plugins.agent.x = plugins.agent.x-10;
plugins.agent.y = plugins.agent.y-10;
Table Row (tr)
classlastDetailRow
Table Cell (td)


HTML Table
idfunction
classservoy sDetail
Colgroup Tag
Column
padding0px
width100%

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan1
Method Details
Table Body (tbody)
idsetBalloonSize
classnode
Table Row (tr)
idname
Table Cell (td)
setBalloonSize
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setBalloonSize
Span
stylefloat: left;
idiets
(width, height)
Table Row (tr)
iddes
Table Cell (td)
Sets the size of the balloon.
Table Row (tr)
idprs
Table Cell (td)
Parameters
width
height
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
plugins.agent.setBalloonSize(width,height)
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetImageURL
classnode
Table Row (tr)
idname
Table Cell (td)
setImageURL
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setImageURL
Span
stylefloat: left;
idiets
(url)
Table Row (tr)
iddes
Table Cell (td)
Sets a new image for the agent.
Table Row (tr)
idprs
Table Cell (td)
Parameters
url
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
plugins.agent.setImageURL("url")
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetLocation
classnode
Table Row (tr)
idname
Table Cell (td)
setLocation
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setLocation
Span
stylefloat: left;
idiets
(x, y)
Table Row (tr)
iddes
Table Cell (td)
Sets the location of the agent.
Table Row (tr)
idprs
Table Cell (td)
Parameters
x
y
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
plugins.agent.setLocation(100,100);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idsetVisible
classnode
Table Row (tr)
idname
Table Cell (td)
setVisible
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
setVisible
Span
stylefloat: left;
idiets
(visible)
Table Row (tr)
iddes
Table Cell (td)
Show/hides the agent.
Table Row (tr)
idprs
Table Cell (td)
Parameters
visible
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
plugins.agent.setVisible(true);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idspeak
classnode
Table Row (tr)
idname
Table Cell (td)
speak
Table Row (tr)
idsig
Table Cell (td)
Span
stylefloat: left; margin-right: 5px;
void
Span
stylefloat: left; font-weight: bold;
idiets
speak
Span
stylefloat: left;
idiets
(message)
Table Row (tr)
iddes
Table Cell (td)
Makes the agent speak.
Table Row (tr)
idprs
Table Cell (td)
Parameters
message
Table Row (tr)
idret
Table Cell (td)
Returns
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
plugins.agent.speak('hello nerd');
Table Row (tr)
classlastDetailRow
Table Cell (td)