Posts: 2,627
Thanks: 8602 in 26 Posts
28 Achievements
View My Journal
"Set to Next" failing for Sim search
How does
[prim 0x001F] Set to Next (Stack Object, person) fail if there
are Sims on the lot?
I have a Main BHAV which idles, checks to see if a global object exists, and then cycles through the Sims on the lot. The problem is that it never seems to find a person on the lot. I've set Dialog notifications. The false path is always taken, giving a "Could not find a person" alert.
My idea is to make an interaction (which is stored in the global object) autonomous based upon the presence of this object on the lot. So the Main BHAV idles, looks for the global object, finds Sims on the lot who meet the interaction's criteria and who have nothing better to do, and pushes the interaction onto them. But if the object can't find any Sims, then yeah, it's not going to work.
ETA: I realize that the loop timing needs work so it doesn't cycle as quickly and that it shouldn't continue to search while not in Live mode.
Attached files:
|
test.zip (17.0 KB, 16 downloads)
- View custom content
|
Package file | Size | Type | Description |
---|
test.package | 0 | | |
38190 08-12-12 23:02 test.package
-------- -------
38190 1 file
|
I don't mind if you call me "MSD" or something for short.
Tumblr
Perhaps someday I'll have leisure time back...