how do i force an avatar to sit on a prim with rlv?
|
Moira Willenov
Registered User
Join date: 1 Jul 2008
Posts: 15
|
07-10-2009 20:51
ok... ive got the hang of most of the scripting for rlv but i need to know how to force a sit from the script using rlv as all attempts i have made have failed. any scripters out there who know rlv and the answer?
|
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
|
07-10-2009 21:05
_____________________
 ● Inworld Store: http://slurl.eclectic-randomness.com ● Website: http://www.eclectic-randomness.com ● Twitter: @WinterVentura
|
Moira Willenov
Registered User
Join date: 1 Jul 2008
Posts: 15
|
Thanks but i read that. 
07-10-2009 21:13
ty anyways though hun. 
|
Briana Dawson
Attach to Mouth
Join date: 23 Sep 2003
Posts: 5,855
|
07-10-2009 22:53
From: Moira Willenov ok... ive got the hang of most of the scripting for rlv but i need to know how to force a sit from the script using rlv as all attempts i have made have failed. any scripters out there who know rlv and the answer? Use the TOKON Hud system, and also get a relay. There are other systems out there as well from remote controlling.
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
07-11-2009 00:13
From: Moira Willenov ty anyways though hun.  apparently not very well...... From: someone Force sit on an object : @sit:< UUID >=force
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
Innula Zenovka
Registered User
Join date: 20 Jun 2007
Posts: 1,825
|
07-11-2009 02:18
The UUID being, of course, that of the object on which you want the av to sit, not that of the av (a point I know confuses some people -- it did me, anyway, the first time I tried to make something using @sit: ).
I think, though I can't swear to it, that the object needs a sit target.
|
Briana Dawson
Attach to Mouth
Join date: 23 Sep 2003
Posts: 5,855
|
07-11-2009 06:16
From: Innula Zenovka The UUID being, of course, that of the object on which you want the av to sit, not that of the av (a point I know confuses some people -- it did me, anyway, the first time I tried to make something using @sit: ).
I think, though I can't swear to it, that the object needs a sit target. No. No UUID is needed. With a RLV controller and wearing a relay, any person can sit you on anything or do all kind of other things like remove all your clothes and attachments, teleport you without a TP request, etc. A Tokon HUD can do it with an extra Relay so i assume it has one built in. If you are not using the Tokon Master/slave HUD, you need to have a RLV Relay.
|
Viktoria Dovgal
…
Join date: 29 Jul 2007
Posts: 3,593
|
07-11-2009 06:35
Yes, the UUID is absolutely required, the viewer won't know what to sit on without it. The UUID is being sent to the relay object in that case, which in turn passes it on to the viewer with that @sit command.
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
07-11-2009 07:47
offtopic: hey bianna, did you recently have an ad for automatic hamster in your sig? trying to figure out where I saw it.
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
Moira Willenov
Registered User
Join date: 1 Jul 2008
Posts: 15
|
Ty. 
07-11-2009 07:51
Especially to innulla 
|
Moira Willenov
Registered User
Join date: 1 Jul 2008
Posts: 15
|
Thankyou all.
07-11-2009 07:56
This is the code that worked.
default { state_entry ( ) { llSitTarget ( < 0.0, 0.0, 0.1 >, ZERO_ROTATION ); } touch_start ( integer total_number ) { llOwnerSay ( "@sit:" + ( string ) llGetKey ( ) + "=force" ); } }
And too Void Singer...
I read it very well ty. Nowhere in that ai does it state sittarget is needed. and the ai is confusing on the matter of which uuid to use. Do not assume that someone didnt read something very well if it is not written very well.
|
Briana Dawson
Attach to Mouth
Join date: 23 Sep 2003
Posts: 5,855
|
07-11-2009 08:07
From: Viktoria Dovgal Yes, the UUID is absolutely required, the viewer won't know what to sit on without it. The UUID is being sent to the relay object in that case, which in turn passes it on to the viewer with that @sit command. Maybe from the scripting side. But what i was talking about was OBVIOUSLY not about the scripting aspect since i mentioned items that can sit you without you giving the object any sort of UUID yourself. If i had noticed this was in the scripting section I would have never replied.
|
Viktoria Dovgal
…
Join date: 29 Jul 2007
Posts: 3,593
|
07-11-2009 08:11
From: Briana Dawson But what i was talking about was OBVIOUSLY not about the scripting aspect. This is very OBVIOUSLY the scripting forum, and even if we were to pretend that this wasn't the scripting forum and instead the how to use completed objects somebody else already made forum, those objects still need to use the UUID, even if you don't see it.
|
Rygel Ryba
Registered User
Join date: 12 Feb 2008
Posts: 254
|
07-11-2009 08:23
Brianna - it "appears" as if you don't need the UUID of the object - but you do. The way tokon and OpenCollar and Amethyst collars have you sit on anything (that is scripted, of course) is it "scans" a certain radius (usually 20 meters) and grabs the names and UUID's of the objects it finds.
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
07-11-2009 08:24
:  HRUG:: PEBKAC or more loosely CF:TB (Communications Failure: Text Based)
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
Moira Willenov
Registered User
Join date: 1 Jul 2008
Posts: 15
|
TY everyone. the device is now orking properly. 
07-11-2009 08:36
Lol! Everyone heere is so uptight. I apreciate any help i can get even if the answers dont apply. We all learn from what we experience and even if the answers are not what we need at the moment the info supplied couold be used at a later time. So in effect, no worries everyone and thanks for everything.  ~
|
Innula Zenovka
Registered User
Join date: 20 Jun 2007
Posts: 1,825
|
07-11-2009 09:22
The way the hud works, I take it, is it fires llSensor(), returns a list of object names it's detected, then when you chose one, finds the appropriate UUID (which it's also detected as part of the sensor) and says something like llSay(relaychannel, cmdname + "," + (string)av_id + "," + "@sit:" + (string)object_id + "=force");
with cmdname being an arbitrary name you're using in the handshake between the hud and the victim's relay, av_id being the victim's uuid and object_id being the uuid of whatever you're chosen to sit your victim on. The victim's relay then does the rest.
|
Briana Dawson
Attach to Mouth
Join date: 23 Sep 2003
Posts: 5,855
|
07-11-2009 14:42
From: Viktoria Dovgal This is very OBVIOUSLY the scripting forum, and even if we were to pretend that this wasn't the scripting forum and instead the how to use completed objects somebody else already made forum, those objects still need to use the UUID, even if you don't see it. Void: no.
|