Editing Krafties Scripting API

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 4: Line 4:
 
= Creature/Pet API =
 
= Creature/Pet API =
  
:The Krafties Scripting API is a feature which allows you to get data from your Kraftie Creature for your own scripted third party addons.   
+
The Krafties Scripting API is a feature which allows you to get data from your Kraftie Creature for your own scripted third party addons.   
:Currently this is read only although gives access to a wide range of possibilities.   
+
 
:This API relies on listening to 1 minute pings on channel '''<code>-748382747</code>''' from inworld Krafties Creatures.
+
Currently this is read only although gives access to a wide range of possibilities.   
:Creatures will communicate on this channel once <code>on_rez</code> and then every 60 seconds.
+
 
 +
This API relies on listening to 1 minute pings on channel '''<code>-748382747</code>''' from inworld Krafties Creatures.
 +
 
 +
Creatures will communicate on this channel once <code>on_rez</code> and then every 60 seconds.
 +
 
  
 
Message format is a string delimited by <code>|</code> containing every prim UUID. (16 Prims)
 
Message format is a string delimited by <code>|</code> containing every prim UUID. (16 Prims)
:<code><nowiki>prim1UUID|prim2UUID|prim3UUID|prim4UUID|prim5UUID|prim6UUID|prim7UUID|prim8UUID|prim9UUID|prim10UUID|prim11UUID|prim12UUID|prim13UUID|prim14UUID|prim15UUID|prim16UUID</nowiki></code>
+
 
 +
<code><nowiki>prim1UUID|prim2UUID|prim3UUID|prim4UUID|prim5UUID|prim6UUID|prim7UUID|prim8UUID|prim9UUID|prim10UUID|prim11UUID|prim12UUID|prim13UUID|prim14UUID|prim15UUID|prim16UUID</nowiki></code>
  
  
Line 16: Line 21:
  
  
===PRIM DESCRIPTION FORMATS===
+
 
 +
'''PRIM DESCRIPTION FORMATS'''
  
 
*'''Prim 1 Description:''' <code><nowiki>"Bonded "+(string)species+ " - "+(string)elementType</nowiki></code>
 
*'''Prim 1 Description:''' <code><nowiki>"Bonded "+(string)species+ " - "+(string)elementType</nowiki></code>

Please note that all contributions to Krafties may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Templates used on this page: