Hi there! You are currently browsing as a guest. Why not create an account? Then you get less ads, can thank creators, post feedback, keep a list of your favourites, and more!
Quick Reply
Search this Thread
Instructor
Original Poster
#1 Old 13th Dec 2011 at 7:54 PM Last edited by Gwenke33 : 14th Dec 2011 at 1:28 PM.
Default Test for height-wise position of an object; also, 0x006E Look at
I have two questions:
1. In an interaction, I'd like to find out the position of the object my sim is interacting with, in terms of height.
If I could find out whether the object is on the floor/ground, on an endtable, coffee table, table/counter or other, it would the sufficient.
Could I make a test for the category of the object container object, or somesuch? Do these types of surface objects have separate categories, and if they do, how do I find the numbers?

OK, it seems that posting the problem to MTS works wonders to one's brain. I have figured this out.

2.
I'd like my sim to look at the object it is interacting with, but 0x006E Look at (Target: Stack Object ID 0x0000, default 3/4 height) is giving me an Undefined transition error. (So does 'custom look at')
My object is using PaintingGlobals just like the deco object I got these BHAVs from, but obviously something more is needed.
The problematic nodes are nodes 3 and 4 in BHAV 0x0000101A.
Please help?

3.
The Init for the AL wall shelves does not set a category. Even if it did, how would I find out how high the shelf is at the moment of testing?
Attached files:
File Type: zip  Gwenke_poinsettia-03.zip (127.2 KB, 5 downloads) - View custom content
Advertisement
Retired Duck
retired moderator
#2 Old 15th Dec 2011 at 10:38 AM
Any chance you could attach a copy of the error log you're getting?

As for finding out where something is in game, one option would be to look at the object which currently contains the Stack Object (ie, "Stack Object Id := Stack Object's container id") and check its category.
Back to top