Created
November 16, 2017 15:22
-
-
Save Makopo/43471af47f7c5433e059cb85c4c9b2b4 to your computer and use it in GitHub Desktop.
Qiita Corrade入門その2記事 「APIの入手」まで
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default | |
{ | |
touch_start(integer num_detected) | |
{ | |
llOwnerSay("ボットアバターを座らせます"); | |
llInstantMessage(CORRADE, | |
wasKeyValueEncode( | |
[ | |
"command", "relax", | |
"group", wasURLEscape(GROUP), | |
"password", wasURLEscape(PASSWORD) | |
] | |
) | |
); | |
state on_the_ground; | |
} | |
} | |
state on_the_ground | |
{ | |
touch_start(integer num_detected) | |
{ | |
llOwnerSay("ボットアバターを立たせます"); | |
llInstantMessage(CORRADE, | |
wasKeyValueEncode( | |
[ | |
"command", "stand", | |
"group", wasURLEscape(GROUP), | |
"password", wasURLEscape(PASSWORD) | |
] | |
) | |
); | |
state default; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment