Thread

[VB] Searching for objects. (Sdk)

[VB] Searching for objects. // Sdk

1  |  

robbie

Mar 29, 2002, 6:26pm
Does anyone have any example code showing how to find an object with range
of the bot with for example 'create name tree' in the action line? I would
assume you query the area and then search for the action line in the Array
your've filled but I've tried and failed twice now...soemone save me! :)

-Robbie

jey

Mar 29, 2002, 11:47pm
I know in C++ it is done in the handle_cell_object, function, which for
VB that function is: Private Sub sdk_EventCellObject(). Now, with C++ you do
if(!strcmp(aw_string(AW_OBJECT_DESCRIPTION)) to check the description, and I
haven't used VB in a long time, but it might be something like: if
sdk.AwObjectDescription = "this object" then . . . but I dunno. Try fooling
around with stuff like that. Try stuff in the Private Sub
sdk_EventCellObject() function like sdk.AwObjectModel,
sdk.AwObjectDescription, and sdk.AwObjectAction, if you haven't already, and
tell me if anything happens.

Jey

[View Quote]

swe

Mar 30, 2002, 11:05am
ive got a example i got from kah, but ull have to ask him if i can give it
to u first...
[View Quote]

kah

Apr 2, 2002, 10:13am
no problem... I must make a new one soon heh (old one doesn't have
awquery5x5, but it's just changing a few numbers around to get it)

KAH

[View Quote]

swe

Apr 2, 2002, 7:31pm
lol, then make one and give it to me! :)

[View Quote]

kah

Apr 3, 2002, 9:45am
new one underway, with some cool sorta unrelated features too :-))

KAH

[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