the architect // User Search

the architect // User Search

1  |  

(Newbie) - How to use an object's name in an object search?

May 27, 2003, 2:35pm
Hey there. My name is Chris, and I have just started playing around
with writing bots. I am using AX Logic's Java implementation
(http://www.axlogic.com/aw/).

Is there any way (short of String parsing with the action field) to use
an object's name in an object search?

If not, I think that splitting out the name into a new field would be a
good idea for a future release. Otherwise, how do you search for a
specific object among several using the same model? Use coordinates? I
would think name would be the most logical way.

Anyway, thanks for listening to the ramblings of a newbie. I hope to
learn enough to contribute at some point, instead of just ask questions.

- Chris

Question about searches

May 31, 2003, 3:32am
Hey all, another question.

First off, I am using Java, through the SDK provided by AX Logic
(http://www.axlogic.com/aw/).

I have a bot that does a 5x5 query. First, I tried looking (for a
specific object which I *know* is right there) by Description. Didn't
work. then, I tried looking by Model. Nope. Then, just out of
curiosity, I used AWObject.allObjects, which should basically be a hit
on *every* object. For each object found, I have the bot speak the
model string. I noticed that several objects aren't being found at all.

Any idea why I might miss objects when I don't constrain my search? I
mean, they are right beside my bot.

Thanks in advance,
Chris

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