Board ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
ivano // User Search
ivano // User SearchHow to determine AW_OBJECT_NUMBER without aw_query?Sep 29, 2002, 9:46am
Hi all,
Here's my problem. I know exactly an object's position (x,y,z) and model name. Is there a way to change that object without having to launch aw_query and deretmine that way the AW_OBJECT_NUMBER? In other words, is there an easy way to determine AW_OBJECT_NUMBER of an object knowing only x,y,z and model name? Thank you. Ivan Blecic How to determine AW_OBJECT_NUMBER without aw_query?Sep 29, 2002, 1:27pm
No, it does not as far as I'm concerned. The problem is that I would need to
obtain AW_OBJECT_NUMBER with some sort of sdk function, which doesn't exist. Anyway, I found the way to solve by problems without having to solve this problem, eventhough it is an interesting one and worth discussing about. Cheers, Ivan "bowen" <thisguyrules at 7k2.4mg.com> ha scritto nel messaggio news:3d970a81$1 at server1.Activeworlds.com... > I think global mode takes care of that now... don't quote me on that though. > > --Bowen-- > [View Quote] Build Inspector-like applicationSep 29, 2002, 1:35pm
Hi all,
I'm writing an application that should work like the standard AW Build Inspector. It does the following: When a new object is added (or an existing one is changed) it checks for the object's coordinates and size (reading object registry) and verify that the object is completely inside the area assigned to that particular user. Now, my problem is that I would like the object be returned to the initial position (just like Build Inspector) if it gets positioned outside allowed area. But I cannot see how to obtain old x,y and z coordinates since the event AW_EVENT_OBJECT_DELETE (called when an existing object changes position) doesn't set any old coordinates. Any hint? Thanks, Ivan How to determine AW_OBJECT_NUMBER without aw_query?Sep 29, 2002, 9:46am
Hi all,
Here's my problem. I know exactly an object's position (x,y,z) and model name. Is there a way to change that object without having to launch aw_query and deretmine that way the AW_OBJECT_NUMBER? In other words, is there an easy way to determine AW_OBJECT_NUMBER of an object knowing only x,y,z and model name? Thank you. Ivan Blecic |