nearby_avatars (HTTP Callback Event)
From SmartBots Developers Docs
(DEPRECATED. Use nearbyavatars_scan command instead). Reports avatars nearby to the bot.
Incoming and outgoing parameters
The input parameters is being sent to your HTTP script along with this event. Output parameters (if any) should be generated by your script.
Parameters | Required | Value | |
---|---|---|---|
Input parameters: | |||
action | yes | = nearby_avatars | |
bot_name | yes | the SL name of your bot | |
channel | yes | the unique bot id | |
cid | yes | internal HTTP connection identifier (you can ignore this value) | |
Input parameters specific for nearby_avatars: | |||
status | yes | teleport status:
| |
avatars | yes | the nearby avatars (see below) | |
heading | yes | Bot's heading (direction it looks), degrees | |
location | yes | bot's current location, Region/X/Y/Z |
Avatars list format
The avatars in a list are separated by a new line. Each avatar entry contains the following items:
- UUID
- full SL name
- X
- Y
- Z
The items are separated by ";".
Example:
417732f0-a100-4e2d-a9bf-e381cfd12c3a;CuteGuide Resident;128;12;20
<< return back to HTTP Callback events