Discussion: Multi-Pose Animation Stand
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
12-13-2007 18:05
From: Jasmin Loire I'm getting an error message in compiling that hasn't been brought up yet:
(18, 0) : ERROR : Syntax error
The line in question: vector animation_offset = <0,0,1.5>; // Animation offset from stand
Thanks in advance for any help you can offer. As pointed out, the forum software will put some spaces in where there should be none. Try this; Go to the post with the code and click the Reply button, Copy the code(which will now be correctly formatted with no extra spaces) from the reply window and then paste into your script.
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime. From: someone I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
12-13-2007 18:06
From: Jasmin Loire I'm getting an error message in compiling that hasn't been brought up yet:
(18, 0) : ERROR : Syntax error
The line in question: vector animation_offset = <0,0,1.5>; // Animation offset from stand
Thanks in advance for any help you can offer. As pointed out, the forum software will put some spaces in where there should be none. Try this; Go to the post with the code and click the Quote button, Copy the code(which will now be correctly formatted with no extra spaces) from the reply window and then paste into your script.
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime. From: someone I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
|
Jasmin Loire
Want to do my grading?
Join date: 4 Nov 2007
Posts: 68
|
12-13-2007 18:44
*Edit: No, wait, that didn't work.*
I tried to do what was suggested but it ends up one of two ways:
1. Copy/Paste removes the "default {" and the script compiles and saves, but my avatar does not pose.
2. Typing back in the "default {" leads to the same error I reported above.
=====================
*Edit 2: I'm leaving my post here so that anyone who made the same mistake as me, won't.*
I figured out what was going on. The "default {" at the beginning should not be there. And I hadn't checked the "Running" checkbox. Behold, it is the minor things that get you. (%_%)
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
12-13-2007 18:57
From: Jasmin Loire *Edit: No, wait, that didn't work.*
I tried to do what was suggested but it ends up one of two ways:
1. Copy/Paste removes the "default {" and the script compiles and saves, but my avatar does not pose.
2. Typing back in the "default {" leads to the same error I reported above. Cool!!!!! Glad to see you got it. That is how the learning process works with LSL. A little something here, a little something there, and then before you know it; some of it begins to make sense.
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime. From: someone I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
|
Serenpidity Lane
Miaow!
Join date: 1 Jan 2008
Posts: 14
|
01-11-2008 09:25
This was EXACTLY what I was looking for, so I had a go, and it works brilliantly until I reach a pose (it's never the same one), and then, no matter how much I click the next arrow, it just zooms out. I've tried standing up and posing again, that doesn't help. I've tried re-taking the stand in my inventory and re-rezzing it. Sometimes it works, sometimes it doesn't. Does anybody has any ideas as to what's happening here?
Is there a limit to the number of poses this can display, maybe? I can't imagine that being the case, but maybe I'm wrong. I've loaded about 350...
Thanks in advance!
.S
|
Lear Cale
wordy bugger
Join date: 22 Aug 2007
Posts: 3,569
|
01-13-2008 07:12
Do you see a little page pop up over the object? If so, click on the page and see what it says. This would happen if it's running out of memory, which is quite possible with that many poses. If that's the case, the simplest solution is to remove some of the poses.
|
Serenpidity Lane
Miaow!
Join date: 1 Jan 2008
Posts: 14
|
01-13-2008 15:42
No, no message at all.
Althought I cleared my cache yesterday for the first time in a couple of weeks, and that improved things a LOT, so it's doesn't look like it's something to do with the code...
But thanks anyway!
.S
|
Barrowness Beaumont
Registered User
Join date: 16 Mar 2007
Posts: 262
|
03-28-2008 05:10
Firstly thanks to Teddy for putting this script out there  and all others for the fixes mentioned  Ok so I finally mange to get the script to save and have no syntax errors.... When I right click I get pose...but the next and back buttons don't do anything....obviously I haven't done them right...but I can't figure out why?? Any help really gratefully received! BB 
|
Barrowness Beaumont
Registered User
Join date: 16 Mar 2007
Posts: 262
|
03-29-2008 13:52
anyone?? Pretty please 
|
Soen Eber
Registered User
Join date: 3 Aug 2006
Posts: 428
|
03-29-2008 20:40
From a quick scan of the code the next and back buttons need to be named "next" and "back". Make sure they are both lower case as well. Also make sure the base of the animator is the root prim, so you have three prims: one named "next", one named "back", and one more that has the script in it. The root prim will always be the last prim you click on before linking the prims into an object (if you need help with this, visit the Ivory tower of prims).
|
Barrowness Beaumont
Registered User
Join date: 16 Mar 2007
Posts: 262
|
03-30-2008 03:50
hi soen - thanks for your reply... but I have everything set that way already and it still doesn't work  Hey ho  Edited to say.. it works now - I reset and all is well - ty!!!
|