Jump to content

Biran Gould

Resident
  • Posts

    19
  • Joined

  • Last visited

Reputation

8 Neutral

Recent Profile Visitors

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

  1. Awesome as always Tessa! Thank you very much, i appreciate it
  2. I found this excellent compass example on the following page, to tell me which direction another object is, in relation to myself https://wiki.secondlife.com/wiki/LlAtan2#Examples which is nice, but i want to know, which direction ( N/S/E/W ) is my avatar facing? can anyone share a code snippet to tell me? thanks in advance
  3. *RESOLVED* i was originally posting /formResponse&entry.965194476=ONE&entry.1380673114=TWO&entry.701416711=THREE when i should have been posting /formResponse?entry.965194476=ONE&entry.1380673114=TWO&entry.701416711=THREE So i'm now able to write data out to a google spreadsheet! Woot!
  4. Ive been looking into the concept of posting data from an SL script, into a google spreadsheet. Ive been following the method explained here https://community.secondlife.com/forums/topic/468863-how-to-read-data-directly-from-google-sheets/ So i created my spreadsheet, then created a simple form selecting 'Get pre-filled link', adding data ONE, TWO, THREE into the 3 fields in my form, and then hitting the 'GetLink' button returns the URL as expected https://docs.google.com/forms/d/e/(spreadsheet_id)/viewform?usp=pp_url&entry.965194476=ONE&entry.1380673114=TWO&entry.701416711=THREE So far, so good, but then the example provided suggests changing "/viewform?usp=pp_url" into "/formResponse" in the URL in order to post the data back. Problem is, when i tried it i was just getting "Page Not Found", and my values are not going into my spreadsheet.
  5. Hello FB, IM has been sent, drop a notecard with your specsifications on me when you have the time. Thanks
  6. Hello! My name's Biran, and i write scripts. ( since 2006! ) I specialize in HUD Devices and Experiences, and have worked on a wide variety of projects I provide full perm scripts, that you can resell in your own products. Call me in-world, I'm here everyday. Marketplace : https://marketplace.secondlife.com/stores/1894 In-world : https://maps.secondlife.com/secondlife/Embrace/186/164/2002
  7. Thats great, thanks for your help everyone!
  8. Hello, i was wondering, So if i know where i am using llGetRootPosition() and i know which direction i am facing using llGetRootRotation() and i want to rez an object, directly 3m in front of me, how can i work out the vector position? surely this must have been done before? Thanks
  9. My go-to for a random channel number is integer channel = (integer)("0x" + (string)llGetKey()) * -1; Random for every object.
  10. Hello. I created a script, that lets the avatar flip a coin. You can see a gif of it here https://gyazo.com/e75392a90d9419d76ee0453f46caba0c Its a simple little thing, and i was happy with it. Here's the function in my original script. vector hPos = <0.008243, 0.000406, -0.006726>; vector hRot = <0.0, 0.0, 0.0>; fMove(integer gohome) { if (gohome) { llSetLinkPrimitiveParamsFast(LINK_THIS, [PRIM_POS_LOCAL, hPos, PRIM_ROT_LOCAL, llEuler2Rot(hRot)]); } else { list p = llGetLinkPrimitiveParams(LINK_THIS, [PRIM_POS_LOCAL, PRIM_ROT_LOCAL]); vector pos = llList2Vector( p,0 ); vector mRot = llRot2Euler(llList2Rot( p,1 )); moved ++; if (moved < 30) { pos.z += 0.01; } else if (moved > 60) { moved = 0; mRot.z = 0; } else if (moved == 30) { pos.z = hPos.z; } else { pos.z -= 0.01; } mRot.x += 0.1; if (pos.z > hPos.z) { pos.z = hPos.z; } llSetLinkPrimitiveParamsFast(LINK_THIS, [PRIM_POS_LOCAL, pos, PRIM_ROT_LOCAL, llEuler2Rot(mRot)]); } } Full source : https://pastebin.com/190Thxjm The problem arrived, when i got a better animation. Now the default rotation of the coin has changed, and i just can't seem to get it flipping end over end. my second version, which has the following defaults vector hPos = <0.047370, -0.024816, 0.011251>; vector hRot = <0.0, 1.57080, 0.0>; behaves like this https://gyazo.com/711bc5b5e44601b6e5a45bd9fe96bd72 full source https://pastebin.com/JXvwQyTX any help would be appreciated! thank you!
  11. Hi Maverick, Call me when your next in-world, i'd be happy to take a look.
  12. I can help you with that Sofia, i'll send you an IM when we are both in-world at the same time
×
×
  • Create New...