Jump to content

LolaJolene

Resident
  • Posts

    4
  • Joined

  • Last visited

Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thank you so much. I am slowly getting the hang of this.... very slowly. smiles
  2. ok I am very new to scripting and am so confused right now. lol I am not quite understanding what you said.
  3. I am trying to make a simple script to climb both up and down a ladder. I found one but it does not place the pose ball back to the starting point. Can someone please help me to get this working right. I am guessing I would need a pose ball at both ends, one going up and one going down. I am also not sure how to change the script to go down. The script I found is listed below. Thanks // :SHOW: // :CATEGORY:Animation // :NAME:Easy Ladder // :AUTHOR:Ferd Frederix // :KEYWORDS:Ladder // :CREATED:2015-07-15 10:04:12 // :ID:1081 // :NUM:1800 // :REV:2 // :WORLD:Second Life, Opensim // :DESCRIPTION: // Easy ladder script // :CODE: // Rev 2: 12-18-2015 added region pos for return /* Climb ladder http://community.secondlife.com/t5/Scri ... d-p/256433 Edited for opensimulator to unsit user at top via offset vector BVH: climb-rope Ferd Frederixz - removed cruft, added offsets and removed ugly hacks. */ float LADDERHEIGHT= 12.0; // how far to move up float STEPHEIGHT = 0.25; // how far to move each step float OFFSET = 0; // tilt of the ladder; float Extra = 1; // extra move onto the roof or in the door before unsit climbup() { llSetAlpha(0,ALL_SIDES); llStopAnimation("sit"); llStartAnimation(llGetInventoryName(INVENTORY_ANIMATION,0)); integer i; vector original; float steps = LADDERHEIGHT / STEPHEIGHT; float offset = OFFSET / steps; // to one side original = llGetPos(); do { i++; vector newPos = llGetPos() + <offset,0, STEPHEIGHT> * llGetRot(); llSetPos(newPos); } while (i <= (steps)); llSetPos(llGetPos() + <Extra, 0, 0> * llGetRot()); // extra, then unsit llStopAnimation(llGetInventoryName(INVENTORY_ANIMATION,0)); if (llAvatarOnSitTarget() != NULL_KEY) { // somebody is sitting on me llUnSit(llAvatarOnSitTarget()); // unsit him or her } llSetRegionPos(original); llSetAlpha(1,ALL_SIDES); } // end climbup default { state_entry() { llSitTarget(<0.0, 0.0, 0.1>, ZERO_ROTATION); } changed(integer change) { if(change == CHANGED_LINK) { key avatar = llAvatarOnSitTarget(); if(avatar != NULL_KEY) { llRequestPermissions(avatar,PERMISSION_TRIGGER_ANIMATION); } } } run_time_permissions(integer permissions) { if (permissions & PERMISSION_TRIGGER_ANIMATION) { climbup(); } } } //end default
  4. Please, please, please. I have been asking for years. Please make the marketplace Favorites a gift regestry. It would be a wonderful way to buy gifts for people that you know they want. Just like many RL stores. You have it so we can buy as a gift, now we just need a way to see their favorites list so we can know what to buy them. I could so use this right now. With SL weddings, rez days and gifts for friends and loved ones. Please make it so. Thanks :cathappy:
×
×
  • Create New...