Jump to content

Maxx Deischer

Resident
  • Posts

    5
  • Joined

  • Last visited

Everything posted by Maxx Deischer

  1. I only want to rezise the child prim 2 and only in the z axis +
  2. ok ok, to be more presicse: I have one Mesh Prim (root) and two others: A tube (1) and and something in in the tube(2) the script is in the tube(1) because i can´t click then tube(2) The tube(2) resizes well, but with z -0.01 and +0.01. So it moves in the ground 0.005 and up 0.005. I just want it to move up 0.01. Thats the true problem. If I use llGetLinkPrimitiveParams(2, [PRIM_POSITION[) I get always the position of the root prim and not of the child. i tried this already. I´ve got no problem with resizing the child or to get the child, but the child resizes up and down
  3. Hello all, I have the following code: float up = 0.01; default { touch_start(integer total_number) { if (up < 0.49) { llSetLinkPrimitiveParams(2,[PRIM_SIZE,<0.49,0.49,0.01+up>]); up = up + 0.01; } else { llOwnerSay("Full"); } } }Works good, but a problem: The Linked Prim is a cylinder. If I click on prim 1, prim 2 resizes on the z-axis +0.01 and -0.01. I know I can get the position with llGetPos, but I can´t click the child prim, so i have to click prim 1 to resize prim 2. How can I do that ? Thanks for help. Maxx.
  4. Sounds nice .. I will give it a try Thanks
  5. Hello all, I have the following problem: I want to pay to a person a amount of L$ if he/she sits on a full perm prim for a time. (e.g. 5 minutes) I have everything going, but if the person stands up before the timer is done, the person get´s payed. I know there is llGetAgentInfo, but how can I be sure the person is sitting on the item and not sitting anywhere else ? Can someone give me a code example please ? Thanks Maxx.
×
×
  • Create New...