Originally Posted by: Sweetpea I've been doing a bit more updating at The Learning Center.
Besides getting tutorials from members, I've been looking through the forum trying to find some common asked questions so that those can also be included at The Learning Center (fondly aka TLC)
I've did find several questions about scripting the Pill Tray. I've found several different posts on it, but few actually give the script.
Would anyone have the actual script for the pill try that I can use for TLC? If possible the normal script and the raised floor script.
I know when I do them it is always trial and error, especially when working on a raised floor.
So it would be amazing if you have either a tutorial I can add or if you just want to send me the directions and I'll create a poster with the directions.
Thanks so much
pea
Script: Eat Pill
Offset: -150
That's for a regular pill tray for a hardcoded floor.
For a false floor, it's a bit more involved.
To keep it simple, I take a pill tray and make it big and vertically flat, such as 1.00 x 7.00 x 0.10.
I then raise it up so that the bottom edge of the pill tray is at the height of the forehead on my avi. I set the pill tray, click it and if my feet are in the floor and I fall through, I make adjustments. If they're barely in the floor and I only fall a little bit, I just raise the pill tray up about the distance I think it needs. It's really just something you have to keep messing with.
I just keep adjusting til my avi can take a pill and I'm not falling through but ALSO I am not too high off the floor.
For aesthetics, I will make the pill tray invisible (after putting it into place) and put something in front of it that can be clicked for glowies. Such as...a hanging flower pot, a bird perching on a tree limb near the glowies, a hanging sign, etc. Be creative.
*Edited to add*
If the script is moving you the wrong way, turn your pill tray around by 180 degrees. You can also adjust the number depending on how close or how far away you want to be away from the pill tray.
Damn you, Addamant, for turning me into a forum whore! *shakes fist*
_Monk_: What does BB stand for?
_Monk_: Ball busting? hehehehe