|
Lyndzay Meili
Registered User
Join date: 2 Sep 2007
Posts: 28
|
01-29-2008 16:39
Just when I think I have finally finished my toast launcher, I got an IM about the pose not fitting a larger customer. So now I need to put multiple sized hold poses into the toaster, which leads to my problem.
I need for the user to be able to select a pose from several different poses
The pose change would really only happen once when the user attached the toaster, though they would need to change it if they went to a larger or smaller avi. I don't know if I want to cycle through the poses by touching the toaster (since I have future plans for something that will use a touch) . I was thinking of doing it through ll Listen but not really sure how to do that or even if that is the best way to do it.
My question is what is the best way to let the user switch the sized poses (small, normal, large, xlarge ).
Thx in advance
_____________________
"Be who you are and say what you feel, because those who matter don't mind, and those that mind, don't matter." —Dr. Seuss
|
|
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
|
01-29-2008 20:45
By any chance, would it work to make it automatic, based on llGetAgentSize() ?
|
|
Lyndzay Meili
Registered User
Join date: 2 Sep 2007
Posts: 28
|
01-30-2008 03:16
I don't think that would be the way to do it, since the problem is the width of the avatar, but I have never used llGetAgentSize.
The pose has the avatar holding the object in front of the body with two hands, though attached to the right hand. With a larger avatar there is a large gap between the object and the left hand, and that's where I think having poses different positioned arms would be helpful.
Thx
_____________________
"Be who you are and say what you feel, because those who matter don't mind, and those that mind, don't matter." —Dr. Seuss
|
|
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
|
01-30-2008 05:01
Okay. Well, I've also scripted seats to llTakeControls() and then change animations on movement keys. Probably don't want to use unshifted arrow keys, though, because it interferes with the default behavior of cam controls while seated.
Whatever you decide, I guess I'd suggest recognizing the past few sitters and automatically adjust the seat for them each time.
[Edit: Oh, crap. This is an attachment. Taking movement controls would be *really* weird. But at least the "recognition" problem goes away--assuming the thing doesn't get passed around. Hmmm. Yeah, in this case, llListen and the listen() event for a chat command, or perhaps just a dialog that pops up on the attach() event?)
|