Scripting hurdle to overcome! - SLUniverse Forums
sluniverse logo SLUNIVERSE


Go Back   SLUniverse Forums > Development Discussion and Support > Scripting

Scripting Discuss scripting for SL and other platforms

Reply
Old 10-10-2008, 11:55 AM   #1 (permalink)
Junior Member
 
Join Date: Oct 2008
Posts: 1

Scripting hurdle to overcome!

Hello,

I am a post-graduate student part of a project to convert some philosophical language games into the Second Life Universe. We are at the moment trying to construct a pile of pillars, such that upon clicking on the pile, it attaches a pillar to your arm. The idea being that you are picking a pillar up off a pile. We have been scripting it so that upon clicking the pile of pillars, it produces a single pillar next to the pile, which if you then click on, it asks if you would like to attach that pillar to your arm.

Our problem is, that if you are not the owner of the pillar, it denies you from doing this. The only person who can pull it off succesfully is the original owner of the pile of pillars, and the pillar inside it. Is there some way around this issue of ownership, other then having it first placed into your inventory. Our aim is to side-step as much of the Second Life interface as possible when participating in this language game.

Thanks for any help!

Matt
Matthew_Whittingham is offline   Reply With Quote
Old 10-10-2008, 12:13 PM   #2 (permalink)
The Purple
 
Chalice Yao's Avatar
Kinda at work. Somewhat.
 
Join Date: Dec 2007
Location: Somewhere purple, Germany
Posts: 1,251

My Mood:

Sadly (and thankfully) no, there is no wayto autochange owners or attach non-owned things to an avatar.

The only way would be for the pillor to be set leftclick-pay for 0l first. then after buy and CHANGED_OWNER (buying the original so nothing lands in the inventory), change leftclick to touch and attach.
Chalice Yao is online now   Reply With Quote
Old 10-11-2008, 01:19 AM   #3 (permalink)
Junior Member
 
Stickman's Avatar
 
Join Date: Jan 2008
Location: Seattle, WA
Posts: 29

If you were fancy enough, you could have a custom animation and make the pillar a "vehicle" so you when click, you "sit" and then can "walk" with it. I'm pretty sure that's not worth the effort, though.
Stickman is offline   Reply With Quote
Old 10-11-2008, 02:33 AM   #4 (permalink)
Doing stuff
 
WarKirby Magojiro's Avatar
Made new armor ^^
 
Join Date: Sep 2007
Location: Glasgow, Scotland
Posts: 2,603
SL Join Date: 14/10/2006
Business: MagoTek Industries
SLShopper Ads: 1

My Mood:

Using the built in buy system to buy the original, is the only way to transfer an inworld object without it passing through an inventory.
__________________
Quote:
"Beware he who would deny you access to information, for in his heart he dreams
himself your master."
Quote:
Originally Posted by Winter Ventura View Post
If the person is too stupid to figure out that they should wear the burger, then you know what? Maybe they're too stupid to have one.
WarKirby Magojiro is offline   Reply With Quote
Old 10-22-2008, 04:12 PM   #5 (permalink)
Why can't titles be longe
 
Join Date: Sep 2008
Posts: 339
SL Join Date: 2/16/2007

Another option is to have the players wear a scripted attachment that contains a pillar in its contents. Then, when a player clicks on one of main pillars in the game, it could then say the avatar's name or key on a backchannel. The attachment then listens on that backchannel, and if it hears the correct line, it then rezzes a copy of the pillar from inventory, which could then be attached to the arm. Personally, I think that this is the best option. The downside is that they would have to obtain and wear the attachment first, but that could be done pretty easily by putting a box next to the pillars with a sign saying "Get your FREE game attachment by clicking HERE" or some such.
Jahar Aabye is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 01:07 PM.
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
vB.Sponsors Copyright 2008 SLUniverse.com / Hurricane Interactive.
All rights reserved.

Second Life(TM) and Linden Lab(TM) are trademarks or registered trademarks of Linden Research, Inc.
No infringement is intended.