AW_CLICKED_OBJECT_NAME attribute for click event (Wishlist)

AW_CLICKED_OBJECT_NAME attribute for click event // Wishlist

1  |  

codewarrior

Oct 21, 2003, 3:39pm
If an object has a name, it would be useful to have the name returned as
an attribute of the click event.

i.e. "create name info_booth"
"create name info_booth"
"create name info_booth"
..

would let you put 'info_booth' around and not care which one was being
used. They could even all use a different model as long as they share the
same name.

If you care which one is being used, give it a different name. Then you
have a quick way to identify what object was clicked without having
to enumerate all of the objects in the world.

In conjunction with knowing the polygon tags as per the previous
post, this would allow very simple and powerful object oriented
event systems to be made that would be decoupled from the actual
layout, objects, etc. within a given world.

Using the 101 key keyboard example:

create name terminal1
create name terminal2

on two different instances of the same 101 key keyboard model,
and the bot just has to harvest keystrokes from these two objects
without having to do a full query of all the objects.

strike rapier

Oct 21, 2003, 4:08pm
Alternativly... you could bother to make the code yourself! Lazy person...

- Mark

[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