ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
Bot problem :) (Sdk)
Bot problem :) // Sdkbyte meOct 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 knupeOct 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? |