|
Bot Teleport (Sdk)
Bot Teleport // Sdk
Feb 29, 2000, 8:20pm
I recently came across a problem when trying to have a bot read an avatar
click and then go that avatar's position in the world.
void handle_avatar_click (void)
{
sprintf (message1, "%s threw a balloon at %s!
", aw_string (AW_AVATAR_NAME), aw_string (AW_CLICKED_NAME));
aw_say (message1);
sprintf (message2, "Splat!");
aw_say (message2);
sprintf (clickedname, "%s", aw_string(AW_CLICKED_NAME));
}
-is what I have now. I was not able to find in the SDK reference pages how to find an avatar that has been clicked location in the world, so that the bot could update its position using aw_state. Now you're probably wondering why I didn't put this on the newsgroup. My ISP deactivated me for some unknown reason and I cannot post a message there.
Feb 22, 2002, 4:21pm
*Replies to another rearlly old post*
I think its something like....
Avatar_Clicked....
Determin Avatar Clicked X Y Z axis,
Define the X Y Z values as strings / integers.
I can only think of you making an equivilent to brants VB classes for this.
then
AW_My_X = X
AW_My_Z = Z
AW_My_Y = Y
AW_State_Change( )
----------------------------------------------------------------------------
---
This was a post from Strike that would maybe have done more good about 2
years ago, before I was even in AW or had the slightest hint about
programming for that matter. But I felt like replying just for the fun of it
:)
----------------------------------------------------------------------------
---
NB: If I did get anothing right in there its not bad, cause im a newbie to
programming, but been helped by the best. :)
----------------------------------------------------------------------------
---
*Goes to bed*
Feb 22, 2002, 7:25pm
lol, opps,
[View Quote]"strike rapier" <strike at rapiercom.freeserve.co.uk> wrote in message
news:3c768c0d at server1.Activeworlds.com...
> *Replies to another rearlly old post*
>
> I think its something like....
>
> Avatar_Clicked....
>
> Determin Avatar Clicked X Y Z axis,
> Define the X Y Z values as strings / integers.
> I can only think of you making an equivilent to brants VB classes for
this.
>
> then
>
> AW_My_X = X
> AW_My_Z = Z
> AW_My_Y = Y
>
> AW_State_Change( )
>
> --------------------------------------------------------------------------
--
> ---
> This was a post from Strike that would maybe have done more good about 2
> years ago, before I was even in AW or had the slightest hint about
> programming for that matter. But I felt like replying just for the fun of
it
> :)
> --------------------------------------------------------------------------
--
> ---
>
> NB: If I did get anothing right in there its not bad, cause im a newbie to
> programming, but been helped by the best. :)
>
> --------------------------------------------------------------------------
--
> ---
> *Goes to bed*
>
>
>
|
Feb 22, 2002, 8:04pm
Ive managed to get my sent date display back :)
*deletes all posts longer than 5 months old*
[View Quote]"strike rapier" <strike at rapiercom.freeserve.co.uk> wrote in message
news:3c76b749 at server1.Activeworlds.com...
> lol, opps,
> "strike rapier" <strike at rapiercom.freeserve.co.uk> wrote in message
> news:3c768c0d at server1.Activeworlds.com...
> this.
>
> --------------------------------------------------------------------------
> --
of
> it
>
> --------------------------------------------------------------------------
> --
to
>
> --------------------------------------------------------------------------
> --
>
>
|
Feb 22, 2002, 8:05pm
Sorry for all the non-SDK posts :)
[View Quote]"strike rapier" <strike at rapiercom.freeserve.co.uk> wrote in message
news:3c76c085 at server1.Activeworlds.com...
> Ive managed to get my sent date display back :)
>
> *deletes all posts longer than 5 months old*
> "strike rapier" <strike at rapiercom.freeserve.co.uk> wrote in message
> news:3c76b749 at server1.Activeworlds.com...
>
> --------------------------------------------------------------------------
2
> of
>
> --------------------------------------------------------------------------
newbie
> to
>
> --------------------------------------------------------------------------
>
>
|
Feb 22, 2002, 8:05pm
0_o FREAK!
[View Quote]"strike rapier" <strike at rapiercom.freeserve.co.uk> wrote in message
news:3c76c09f at server1.Activeworlds.com...
> Sorry for all the non-SDK posts :)
>
> "strike rapier" <strike at rapiercom.freeserve.co.uk> wrote in message
> news:3c76c085 at server1.Activeworlds.com...
for
>
> --------------------------------------------------------------------------
about
> 2
fun
>
> --------------------------------------------------------------------------
> newbie
>
> --------------------------------------------------------------------------
>
>
|
Feb 22, 2002, 8:09pm
:(
Nah, just getting started with using the newsgroups, only used the aw
newsgroup for the last week.
[View Quote]"dion" <GovDion at subdimension.com> wrote in message
news:3c76c0c4 at server1.Activeworlds.com...
> 0_o FREAK!
> "strike rapier" <strike at rapiercom.freeserve.co.uk> wrote in message
> news:3c76c09f at server1.Activeworlds.com...
> for
>
> --------------------------------------------------------------------------
> about
> fun
>
> --------------------------------------------------------------------------
>
> --------------------------------------------------------------------------
>
>
|
Feb 22, 2002, 8:16pm
:-P I guess you like posting too, haha :-P You replied to yourself 3 times!
[View Quote]"strike rapier" <strike at rapiercom.freeserve.co.uk> wrote in message
news:3c76c19b at server1.Activeworlds.com...
> :(
>
> Nah, just getting started with using the newsgroups, only used the aw
> newsgroup for the last week.
>
> "dion" <GovDion at subdimension.com> wrote in message
> news:3c76c0c4 at server1.Activeworlds.com...
message
classes
>
> --------------------------------------------------------------------------
about
the
>
> --------------------------------------------------------------------------
>
> --------------------------------------------------------------------------
>
>
|
|