Thread

Bot problem :) (Sdk)

Bot problem :) // Sdk

1  |  

byte me

Oct 10, 1998, 9:25pm
Ok I'm working on a bot and I have htis entered to reply to a gesture

void handle_avatar_change (void)
{
int rc;
char message[100];
if (rc = aw_int(AW_AVATAR_GESTURE)) sprintf(message, "Missle
launched!");
aw_say (message);
}

it replies to all my gestures but I don't want it to respond to the walk
gesture (gesture 0) but it replies to it with a little square or the
words Miss
anyone know how to solve this prob?

walter knupe

Oct 11, 1998, 1:32am
include the aw_say command in the true-block

void handle_avatar_change (void)
{
int rc;
char message[100];
if (rc = aw_int(AW_AVATAR_GESTURE))
{
sprintf(message, "Missle launched!");
aw_say (message);
}
}

Byte Me schrieb in Nachricht <361FECE2.5C97 at hotmail.com>...
>Ok I'm working on a bot and I have htis entered to reply to a gesture
>
>void handle_avatar_change (void)
>{
> int rc;
> char message[100];
> if (rc = aw_int(AW_AVATAR_GESTURE)) sprintf(message, "Missle
>launched!");
> aw_say (message);
>}
>
>it replies to all my gestures but I don't want it to respond to the walk
>gesture (gesture 0) but it replies to it with a little square or the
>words Miss
>anyone know how to solve this prob?

byte me

Oct 11, 1998, 3:17am
thanx :)
[View Quote]

1  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn