Difference between revisions of "LSL Protocol/Restrained Love Open Relay Group/follow"

From Second Life Wiki
Jump to navigation Jump to search
(Created page with '{{ ORG Restrained Life Relay Specs TOC }} ==!x-follow== ; Description : Command to open up a second communication channel to undocumented features of the object containing the ...')
 
Line 2: Line 2:


==!x-follow==
==!x-follow==
STATUS: proposal


; Description : Command to open up a second communication channel to undocumented features of the object containing the relay.
VERSION: 001


; Implementation : Simply opens up a new listener on the given channel for the specified period of time (indefinitely if no time is specified)
== Possible uses ==
!x-follow: Make the victim stay next to the issuer
!x-follow/2c0df8cb-148b-4907-beb6-c01832321f3f/3: Make the victim follow Winter Seale at 3m
!x-followclear: Allow the victim to move freely again


; Syntax : '''!x-follow[/(target_key)[/(distance)[/(tau)]]]'''
:: (target_key) = defaults to the key of the object issuing the command
:: (distance) = how close you should stay to the target_key, defaults to 2 meters
:: (tau) = the tau that llMoveToTarget should be given, lower means you move faster. defaults to 1.5


; Syntax : '''!x-followclear'''
== Syntax and semantics ==


; Examples
'''!x-follow[/''target_key''[/''distance''[/''tau'']]]'''
: Make the victim stay next to the issuer: '!x-follow'
:: target_key = defaults to the key of the object issuing the command
: Make the victim follow Winter at 3m: '!x-follow/2c0df8cb-148b-4907-beb6-c01832321f3f/3'
:: distance = how close you should stay to the target_key, defaults to 2 meters
: Clear the follow restriction: !x-followclear
:: tau = the tau that llMoveToTarget should be given, lower means you move faster. defaults to 1.5


; Discussion
'''!x-followclear'''
This is essentially a leash with no particles, just the movement part.  Only one object may have an active follow at a time.  If multirelay receives a second x-follow while another one's still active, it should deny it.
 
This is essentially a leash with no particles, just the movement part.  Only one object may have an active follow at a time.  If multirelay receives a second x-follow while another one's still active, it should deny it.  If the key is not currently present, the relay should scan for it regularly (example: every 5 seconds) and continue moving toward it when it's found.

Revision as of 16:33, 20 October 2010

!x-follow

STATUS: proposal

VERSION: 001

Possible uses

!x-follow: Make the victim stay next to the issuer !x-follow/2c0df8cb-148b-4907-beb6-c01832321f3f/3: Make the victim follow Winter Seale at 3m !x-followclear: Allow the victim to move freely again


Syntax and semantics

!x-follow[/target_key[/distance[/tau]]]

target_key = defaults to the key of the object issuing the command
distance = how close you should stay to the target_key, defaults to 2 meters
tau = the tau that llMoveToTarget should be given, lower means you move faster. defaults to 1.5

!x-followclear

This is essentially a leash with no particles, just the movement part. Only one object may have an active follow at a time. If multirelay receives a second x-follow while another one's still active, it should deny it. If the key is not currently present, the relay should scan for it regularly (example: every 5 seconds) and continue moving toward it when it's found.