Welcome to
Mod The Sims
Online: 1159
News:
Have an account? Sign in:
pass:
If you don't have an account, why not sign up now? It's free!
Other sites: SimsWiki
Reply  Replies: 7 (Who?), Viewed: 10052 times.
Search this Thread
Old 30th Aug 2016, 4:29 PM DefaultIs that possible to push interaction on an object (on on a sim) ? #1
ankoyume
Original Poster

Field Researcher

Join Date: Aug 2013
Posts: 372
Thanks: 216 in 5 Posts
13 Achievements

View My Journal


Hello !

The 'push interaction' primitive is hard to understand for me, even though I've read the Wiki article.
I wanted to know if it was possible to push an interaction in an other object (not a sim) so that it can be performed by the object (not a sim) that is pushing the interaction.

I believe in the "Thanks" button and its amazing powers !!!
Old 1st Sep 2016, 12:01 AM #2
maybesomethingdunno
*shrugs*



Join Date: Apr 2005
Posts: 2,577
Thanks: 7543 in 23 Posts
26 Achievements

View My Journal


I've never tried using the BHAV on a non-Sim nor do I recall hearing of anyone doing so. That does not necessarily mean it is impossible though

What parts of the Wiki article do you not understand?

I don't mind if you call me "MSD" or something for short.
Tumblr
Perhaps someday I'll have leisure time back...
Old 1st Sep 2016, 1:31 AM #3
ankoyume
Original Poster

Field Researcher

Join Date: Aug 2013
Posts: 372
Thanks: 216 in 5 Posts
13 Achievements

View My Journal


Wow, big question ...
I wonder about the priority, the icon and the "use name" things : what is the use of them ?

But the most important for me is the interaction itself : where does it come from ? the pie menu of the sim or the object or can it be both ?
And obviously I would like an object to be able to do an interaction in another object, but perhaps there's another primitive specially for this ? When I put an object in the target, it errors "must be a person". Perhaps the "linking interacton" or the 'passing on Caller's params' thing can do something for that ?

The only thing i have understood is that you need an object (the object towards which the interaction will be done ?), a target (the sim ?) and the number of the interaction (found not in the sim, but in the object ?).

So, I pretty much understood nothing... BUT I have succeded in "set to next" sim and push the interaction onto that sim from object A (I'm sure that the BHAV lines are read by the game), but then, the interaction between object B and the sim doesn't work and I don't know why.

I thought I had some knowledge about BHAV but now I feel like a beginner

I believe in the "Thanks" button and its amazing powers !!!
Old 1st Sep 2016, 2:06 AM #4
maybesomethingdunno
*shrugs*



Join Date: Apr 2005
Posts: 2,577
Thanks: 7543 in 23 Posts
26 Achievements

View My Journal


Admittedly, I'm not an expert and I still have a lot to learn.

I'm not sure about priority or "use name", but the icon refers to the image that will be displayed in the Sim's queue. It could be the Sim's face or a custom icon (modthesims.info/showthread.php?t=444382).

The interaction comes from whatever object (using its stack object ID) you have as the object (operand 1) and its pie menu function (operand 0).

But upon further reflection, it sounds more like you want "Run tree by name" (0x001C), perhaps?

I don't mind if you call me "MSD" or something for short.
Tumblr
Perhaps someday I'll have leisure time back...
Old 1st Sep 2016, 3:47 AM #5
ankoyume
Original Poster

Field Researcher

Join Date: Aug 2013
Posts: 372
Thanks: 216 in 5 Posts
13 Achievements

View My Journal


Oh you're right it's Run tree by name ! I have to read the whole article now. Thanks !

But thanks for the explanation too. I understand now how the interaction is chosen even though I'm not sure why it doesn't work for me. I'll try again with this in mind. And I'll try Run tree by name too. Thanks !

I believe in the "Thanks" button and its amazing powers !!!
Old 2nd Sep 2016, 12:04 PM #6
cedrigo
Lab Assistant

Join Date: Jul 2011
Posts: 75
Thanks: 867 in 5 Posts
7 Achievements


Only sims or pets can perform interactions. Objects don't.
Object A can push a sim to interact with Object B.
But Object A can't perform interactions on Object B directly.
Anyway, there are other ways to make an object trigger another object.

If you tell us what are those objects and what they should do, it may be easier to figure out a solution.
Old 5th Sep 2016, 2:51 PM #7
ankoyume
Original Poster

Field Researcher

Join Date: Aug 2013
Posts: 372
Thanks: 216 in 5 Posts
13 Achievements

View My Journal


Sorry I took some time to answer (work ! ).
I just wanted the Servos to auto initialize themselves, using the Monique's wonderful object (MQ_Buyable_Servo).

But now that I have examined the whole thing, I think it needs the person data to be initialized.
So now, I'm trying to set to next sim, so that the owner of the shop or the employees (even thought they are NPCs) can automatically initialize the Servo.
*_*_*_*_
Then I will have to find a way to make the Servo created, becoming a member of the NPC family and not the Sim's Family (the one that has initialized it).

For now, I've succeeded in finding a random Sim (even a Servo that is already there), then he seems to refuse to perform the action, with no error log ... (he doesn't even go to the object !!!)

I believe in the "Thanks" button and its amazing powers !!!
Old 16th Aug 2017, 10:05 PM #8
ankoyume
Original Poster

Field Researcher

Join Date: Aug 2013
Posts: 372
Thanks: 216 in 5 Posts
13 Achievements

View My Journal


Ok Just that you all know, the priority determine if your interaction will erase or not the current interaction of the sim. I had inherited interaction and my interaction was pushed but not over the current interaction. When I chose maximum priority, the current interaction was cancelled in order to read my interaction. But not immediately, it waits for the sim to idle, I think, or "wait for notification", before cancelling it.

I believe in the "Thanks" button and its amazing powers !!!
Last edited by ankoyume : 16th Aug 2017 at 10:22 PM.
Reply


Section jump:


Powered by MariaDB Some icons by http://dryicons.com.