These forums are CLOSED. Please visit the new forums HERE
Floating text over box. |
|
|
Vissilith Nephilim
Registered User
Join date: 17 Jan 2006
Posts: 9
|
07-27-2006 18:24
Would anyone mind explaining how to create a clickable box with floating text above it that opens a notecard? I've tried looking over other modifible boxes like the one I explained and copying it, but to no avail.
|
|
Shack Dougall
self become: Object new
Join date: 9 Aug 2004
Posts: 1,028
|
07-27-2006 18:37
Would anyone mind explaining how to create a clickable box with floating text above it that opens a notecard? The two functions you need are llSetText() and llGiveInventory(). _____________________
Prim Composer for 3dsMax
-- complete offline builder for prims and sculpties in 3ds Max http://liferain.com/downloads/primcomposer/ Hierarchical Prim Archive (HPA) -- HPA is is a fully-documented, platform-independent specification for storing and transferring builds between Second Life-compatible platforms and tools. https://liferain.com/projects/hpa |
|
Vissilith Nephilim
Registered User
Join date: 17 Jan 2006
Posts: 9
|
07-27-2006 19:06
Thanks, but could someone elaborate the scripting technique for this? I do not really know how to script.
|
|
ed44 Gupte
Explorer (Retired)
Join date: 7 Oct 2005
Posts: 638
|
07-27-2006 19:20
Here is some code to serve a notecard to someone who touches your item and sends their names to your email address once in a while. I also sets some text above your item.
You will need to change your hover text in the state entry method and hopefully you will change the email addrress in the timer () code at the end, otherwise I will get emails about your customers! I wish I could remember where I got this code. I probably cobbled it together from several sources. If the author (s) recognize this code, please claim your authorship! CODE
|
|
Shack Dougall
self become: Object new
Join date: 9 Aug 2004
Posts: 1,028
|
07-27-2006 19:40
Good script. Just for clarity, this is the minimum that's needed if you don't need e-mails.
CODE
Edit: oops fixed a typo _____________________
Prim Composer for 3dsMax
-- complete offline builder for prims and sculpties in 3ds Max http://liferain.com/downloads/primcomposer/ Hierarchical Prim Archive (HPA) -- HPA is is a fully-documented, platform-independent specification for storing and transferring builds between Second Life-compatible platforms and tools. https://liferain.com/projects/hpa |