ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
Build Inspector-like application (Sdk)
Build Inspector-like application // SdkivanoSep 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 strike rapierSep 29, 2002, 5:17pm
Use the AwObject type you should collect when the object is queried, find its number and you can get the X,. Y, Z from that.
- Mark [View Quote] ananasSep 29, 2002, 6:14pm
|