{"id":19,"date":"2008-07-05T15:04:38","date_gmt":"2008-07-05T15:04:38","guid":{"rendered":"http:\/\/narguslab.com\/press\/?page_id=19"},"modified":"2023-05-12T03:11:16","modified_gmt":"2023-05-11T20:11:16","slug":"nargus-api","status":"publish","type":"page","link":"http:\/\/narguslab.com\/press\/nargus-api\/","title":{"rendered":"Nargus API"},"content":{"rendered":"<p>This section contain information and links on how to write a 3rd party script that communicate and, possibly, control avatars created by Nargus Lab., Inc.<\/p>\n<p>This document do not describe the key part of the API, which is, how to send a command to the avatar. If you wish to obtain full access to the API command, IM <strong>Nargus Asturias<\/strong>.<\/p>\n<ul>\n<li><a href=\"#avatars\">Avatars API Protocal<\/a><\/li>\n<li><a href=\"#skin_hud\">Skin HUD Plug-in SDK<\/a><\/li>\n<li><a href=\"#gestures\">Poseball &amp; Gesture API Commands<\/a><\/li>\n<\/ul>\n<h2><strong><a name=\"avatars\"><\/a>Avatars API Protocal<\/strong><\/h2>\n<h3><strong>Command Structure<\/strong><\/h3>\n<blockquote><p><strong>AVLINK;<\/strong>target-key<strong>;<\/strong>command-code<strong>;<\/strong>parameter-1<strong>;<\/strong>parameter-2<\/p><\/blockquote>\n<ul>\n<li>&#8220;target-key&#8221; is UUID key of the target avatar.<\/li>\n<li>&#8220;command-code&#8221; is internal code of a specific command. (check out Command Codes section)<\/li>\n<li>&#8220;parameter-1&#8221; and &#8220;parameter-2&#8221; are parameters to be sent along with the command.<\/li>\n<\/ul>\n<h4>Examples<\/h4>\n<ul>\n<li>This command make a target avatar start\/stop animation name &#8220;Sit&#8221;:<br \/>\nAVLINK;<em>000000-0000-0000-0000-000000000000<\/em>;251;Sit<\/li>\n<li>This command force a target to start wagging tail, with speed 2:<br \/>\nAVLINK;<em>000000-0000-0000-0000-000000000000<\/em>;143;2<\/li>\n<li>This command make a target wink his or her left eye:<br \/>\nAVLINK;<em>000000-0000-0000-0000-000000000000<\/em>;122;wink_l<\/li>\n<\/ul>\n<h3><strong>Command Codes<\/strong><\/h3>\n<p><a href=\"http:\/\/narguslab.com\/press\/nargus-api\/velociraptor\/\">S-2 Raptors<\/a><\/p>\n<p>Please request to <strong>Nargus Asturias<\/strong> for API documents of other avatars.<\/p>\n<h2><a name=\"skin_hud\"><\/a>Skin HUD Plug-in SDK<\/h2>\n<p><em>Coming Soon<\/em><\/p>\n<h2><a name=\"gestures\"><\/a>Poseball &amp; Gesture API Commands<\/h2>\n<ul>\n<li>Start\/Stop animation (ignore <em>name<\/em> to use the first animation in poseball):<br \/>\n<strong>ANIM <\/strong><em>name<\/em><br \/>\n<strong>STOP_ANIM<\/strong> <em>name<\/em><\/li>\n<li>Trigger sound (ignore name to use the first sound in poseball):<br \/>\n<strong>SOUND<\/strong><em><strong> <\/strong>name<\/em><\/li>\n<li>Delay gesture<br \/>\n<strong>WAIT <\/strong><em>seconds<\/em><\/li>\n<li>Run avatar API command (<a href=\"#avatars\">commands list\/format<\/a>)<br \/>\n<strong>CMD<\/strong> <em>command-code<\/em><strong>;<\/strong><em>parameter-1<\/em><strong>;<\/strong><em>parameter-2<\/em><\/li>\n<li>Send a link-message to all prims<br \/>\n<strong>LINK <\/strong><em>number<\/em><strong>;<\/strong><em>string<\/em><strong>;<\/strong><em>key<\/em><\/li>\n<li>Have owner speaks a message<br \/>\n<strong>SAY<\/strong> <em>message<\/em><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This section contain information and links on how to write a 3rd party script that communicate and, possibly, control avatars created by Nargus Lab., Inc. This document do not describe the key part of the API, which is, how to send a command to the avatar. If you wish to obtain full access to the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":100,"comment_status":"closed","ping_status":"open","template":"","meta":{"ngg_post_thumbnail":0,"jetpack_post_was_ever_published":false},"jetpack_shortlink":"https:\/\/wp.me\/P1wzps-j","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/narguslab.com\/press\/wp-json\/wp\/v2\/pages\/19"}],"collection":[{"href":"http:\/\/narguslab.com\/press\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/narguslab.com\/press\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/narguslab.com\/press\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/narguslab.com\/press\/wp-json\/wp\/v2\/comments?post=19"}],"version-history":[{"count":10,"href":"http:\/\/narguslab.com\/press\/wp-json\/wp\/v2\/pages\/19\/revisions"}],"predecessor-version":[{"id":491,"href":"http:\/\/narguslab.com\/press\/wp-json\/wp\/v2\/pages\/19\/revisions\/491"}],"wp:attachment":[{"href":"http:\/\/narguslab.com\/press\/wp-json\/wp\/v2\/media?parent=19"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}