#1
13th Dec 2011 at 7:54 PM
Last edited by Gwenke33 : 14th Dec 2011 at
1:28 PM.
Posts: 519
Thanks: 22989 in 43 Posts
16 Achievements
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:
|
Gwenke_poinsettia-03.zip (127.2 KB, 5 downloads)
- View custom content
|
Package file | Size | Type | Description |
---|
Gwenke_poinsettia-03.package | 0 | | |
327237 12-13-11 20:34 Gwenke_poinsettia-03.package
-------- -------
327237 1 file
|