Jump to content

Vette Jewell

Resident
  • Posts

    8
  • Joined

  • Last visited

Everything posted by Vette Jewell

  1. Thanks agin! So now anouther question about the list. I think I know where it's going wrong.. Everytime it adds a new answere to the list I have it it also add a comma to seperate them, but then of course it adds a comma on to the end of the last answere. so when I try to read those answeres I get 0 instead of the answere. I think thats why anyways? I can see how to remove all the commas, but can't figure out how to only remove the last one. message = llStringTrim(message, STRING_TRIM); glAllAnswers += [message+","]; llSay(0,(string)glAllAnswers); Next(); list glAllAnswers = llGetLinkPrimitiveParams(2,[PRIM_DESC]); integer One = llList2Integer(glAllAnswers, 0); integer Two = llList2Integer(glAllAnswers, 1); integer Three = llList2Integer(glAllAnswers, 2); llSay(0,"Apples"+" "+(string)One+" "+(string)Two+"!" +" "+(string) Three); So the returns Apples 0 0! 0 with 0 for the answeres.
  2. Thank you both! That helps sooooo much!
  3. I have it set with a listen for the replies also, and its recieving the answeres, just not sure what to do with them to get them into a list as I recieve them.
  4. So I;m sure there is an obvious way to do this, but it's just not clicking for me. I want to have a script that asks several questions and the answeres are typed into a dialog box. I have that part working, But how do I save the answeres into a single list that an can use later? Also on a seperate note, any suggestions and why I can't save scripts? I cleared my ache and that didn't help. I also tried an alt and used different regions. Thanks soooo much for any help!
  5. ohhh I see where I was making the mistake in my line of thinking. Thank you! I will do some reading now!
  6. ohhh okay that does make sense! Hopefully for now, one other question. What should I use to store that list to use later in the script? My best guess is llList2CSV?
  7. I'm pretty new to scripting and the jargon along with it. I feel like this should be easy and I just can't figure out how make a list of the objects in a prims inventory. I think part of my problem is that I'm not sure exactly what to look up. I've looked at several sources, but none of them looked like they would simply create a list.
  8. Hello, I'm playing around with the Prim Animation Compiler by Ferd Frederix. It's working great, but I was trying to make it a little smoother by changing most of the llSetLinkPrimitiveParamsFast calls to PRIM_LINK_TARGET. In small amounts this makes the movement almost seemless, but I get a Script run-time error Stack-Heap Collision if I use it more then a few times. So I's like to make this: llSetLinkPrimitiveParamsFast(6, [PRIM_POSITION, <-0.48209, -0.00700, 1.37170>*scaleby, PRIM_ROTATION,calcChildRot(<0.01233, -0.13494, 0.70700, 0.69411>), PRIM_SIZE, <0.09000, 0.06478, 0.17000>*scaleby]); llSetLinkPrimitiveParamsFast(7, [PRIM_POSITION, <-0.58054, -0.00820, 1.37158>*scaleby, PRIM_ROTATION,calcChildRot(<0.16978, 0.12772, 0.68768, 0.69423>), PRIM_SIZE, <0.08986, 0.06478, 0.17000>*scaleby]); llSetLinkPrimitiveParamsFast(8, [PRIM_POSITION, <-0.53415, -0.18011, 1.31738>*scaleby, PRIM_ROTATION,calcChildRot(<0.00000, 0.91443, -0.40474, 0.00000>), PRIM_SIZE, <0.22784, 0.01675, 0.29205>*scaleby]); llSetLinkPrimitiveParamsFast(9, [PRIM_POSITION, <-0.53415, 0.21358, 1.68872>*scaleby, PRIM_ROTATION,calcChildRot(<0.59637, -0.37993, -0.59637, 0.37993>), PRIM_SIZE, <0.11113, 0.09046, 0.07036>*scaleby]); llSetLinkPrimitiveParamsFast(10, [PRIM_POSITION, <-0.60730, -0.00365, 1.53064>*scaleby, PRIM_ROTATION,calcChildRot(<0.49664, -0.51115, -0.45928, 0.53023>), PRIM_SIZE, <0.36242, 0.29429, 0.12006>*scaleby]); llSetLinkPrimitiveParamsFast(11, [PRIM_POSITION, <-0.45094, -0.00365, 1.53064>*scaleby, PRIM_ROTATION,calcChildRot(<0.47836, -0.56790, -0.47227, 0.47499>), PRIM_SIZE, <0.36242, 0.29429, 0.12006>*scaleby]); llSetLinkPrimitiveParamsFast(12, [PRIM_POSITION, <-0.53415, -0.02319, 1.52002>*scaleby, PRIM_ROTATION,calcChildRot(<0.50000, -0.50000, -0.50000, 0.50000>), PRIM_SIZE, <0.55842, 0.55842, 0.19601>*scaleby]); Look like this: llSetLinkPrimitiveParamsFast(6, [PRIM_POSITION, <-0.48209, -0.00700, 1.37170>*scaleby, PRIM_ROTATION,calcChildRot(<-0.10454, -0.24768, 0.69934, 0.66230>), PRIM_SIZE, <0.09000, 0.06478, 0.17000>*scaleby, PRIM_LINK_TARGET,7, PRIM_POSITION, <-0.59383, -0.00820, 1.37158>*scaleby, PRIM_ROTATION,calcChildRot(<0.01071, -0.03173, 0.70826, 0.70516>), PRIM_SIZE, <0.08986, 0.06478, 0.17000>*scaleby, PRIM_LINK_TARGET,8, PRIM_POSITION, <-0.56248, -0.18011, 1.31738>*scaleby, PRIM_ROTATION,calcChildRot(<0.00000, 0.91443, -0.40474, 0.00000>), PRIM_SIZE, <0.22784, 0.01675, 0.29205>*scaleby, PRIM_LINK_TARGET,9, PRIM_POSITION, <-0.56248, 0.21358, 1.68872>*scaleby, PRIM_ROTATION,calcChildRot(<0.59637, -0.37993, -0.59637, 0.37993>), PRIM_SIZE, <0.11113, 0.09046, 0.07036>*scaleby, PRIM_LINK_TARGET,10, PRIM_POSITION, <-0.63564, -0.00365, 1.53064>*scaleby, PRIM_ROTATION,calcChildRot(<0.49664, -0.51115, -0.45928, 0.53023>), PRIM_SIZE, <0.36242, 0.29429, 0.12006>*scaleby, PRIM_LINK_TARGET,11, PRIM_POSITION, <-0.47928, -0.00365, 1.53064>*scaleby, PRIM_ROTATION,calcChildRot(<0.47836, -0.56790, -0.47227, 0.47499>), PRIM_SIZE, <0.36242, 0.29429, 0.12006>*scaleby, PRIM_LINK_TARGET,12, PRIM_POSITION, <-0.56248, -0.02319, 1.52002>*scaleby, PRIM_ROTATION,calcChildRot(<0.50000, -0.50000, -0.50000, 0.50000>), PRIM_SIZE, <0.55842, 0.55842, 0.19601>*scaleby]); and do that with about 15 sets of movements. is it just using to much memery? or is there anouther way to make it work? Thanks for any tips you might have and if you haven't tried this animator I highly recommend playing with it.
×
×
  • Create New...