View Full Version : [RESOLVED] BHAV: how to synchronize 2 sims animations ?
Kabuto
15th Apr 2008, 7:25 PM
Hi,
I added the changing clothes spin before the makeover animation in the "Sub - Makee" function (my Salon chair mod) but the Maker begins before the makee is sit so the maker and makee animations are not synchronized :( .
How the maker can knows when the makee is ready ?
Echo
16th Apr 2008, 1:27 AM
You have to use BHAVs to check if all the participants are ready. Are you making this as a social, or is it just two sims interacting with the same object independently?
Kabuto
16th Apr 2008, 7:00 AM
It seems the EP3 Makeover Salon Chair is like two sims interacting with the same object independently, because the maker is waiting for beside the chair until the makee is near the chair in order to start the makeover animations (o2a-makeOverChair-get-makee-start-1 and o2a-makeOverChair-get-maker-start-1).
A sim get makeover (makee) and another sim give makeover (maker), each sims have their own function (here it's "Sub - Maker" and "Sub - Makee" functions).
Echo
20th Apr 2008, 10:33 AM
In that case probably the easiest way to do it is by creating an attribute, then editing that to a certain value when each sim arrives (if such a mechanism isn't there already). When both sims are there according to the attribute, then start your animations. :)
Kabuto
20th Apr 2008, 12:36 PM
I see a mechanism "Wait For Notify", "Idle System - Start", "Idle System - Stop" & "Look At - Stop" before it calls the "Sub - Makee" function.
Actually, I don't understand how the other pie menu functions call the "Sub - Makee" or "Interaction - Makee" functions so I decide to disable temporarily the "Spin" animation.
Clothes - Change Outfit - Specify Sim ID (3 args:
Outfit Category(From #G Person - Outfits)=Literal 0x0000,
Sim ID=My 0x000B (object id),
Don't Do Spin?=Literal 0x0001)
EDIT: Well, I know where I can put my animation without break the synchronization !
Just I put it before the "Idle System - Start"
http://www.modthesims2.com/showthread.php?t=283252
vBulletin v3.0.14, Copyright ©2000-2013, Jelsoft Enterprises Ltd.