Difference between revisions of "Avatar Commands"

From Catznip
Jump to navigation Jump to search
({{RLVaCommandHeader|adjustheight|:{{RLVaParameter|value}}{{RLVaOptional|;{{RLVaParameter|factor}}}}{{RLVaOptional|;{{RLVaParameter|distance}}}}|{{RLVaCommandType|force}}}})
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Avatar control commands
 
Avatar control commands
  
==={{RLVaCommandHeader|adjustheight|{{RLVaParameter|value}}|{{RLVaCommandType|force}}}}===
+
==={{RLVaCommandHeader|adjustheight|:{{RLVaParameter|value}}{{RLVaOptional|;{{RLVaParameter|factor}}}}{{RLVaOptional|;{{RLVaParameter|distance}}}}|{{RLVaCommandType|force}}}}===
Sets the '''AvatarHoverOffsetZ''' debug setting raising or lowering the avatar.
+
Sets vertical offset raising or lowering the avatar with roughly a -200 to 200 range.
  
<span class="rlvacmd"><value></span> is divided by 100 then applied to the debug setting. This allows for fine adjustments to be made with fewer characters when represented as a string ("3" becomes "0.03", 1 character vs 4), It's not a great saving but every byte counts.
+
Avatar Z Offset <span class="rlvacmd">= ( <value> * {{RLVaOptional|{{RLVaParameter|factor}}}} ) + {{RLVaOptional|{{RLVaParameter|distance}}}}</span>
  
Set '''AvatarHoverOffsetZ''' to 0.030
+
* <span class="rlvacmd">{{RLVaOptional|{{RLVaParameter|factor}}}}</span> Optional factor defaults to 0.01
 +
* <span class="rlvacmd">{{RLVaOptional|{{RLVaParameter|distance}}}}</span> Optional distance that is generally not required.
 +
 
 +
 
 +
The following both set the offset to 0.03
 
<code>
 
<code>
{{RLVaCommand|adjustheight|3|{{RLVaCommandType|force}}}}
+
{{RLVaCommand|adjustheight|:3|{{RLVaCommandType|force}}}}
 +
</code>
 +
<code>
 +
{{RLVaCommand|adjustheight|:0.03;1|{{RLVaCommandType|force}}}}
 
</code>
 
</code>
 
 
----
 
----
  
Line 24: Line 30:
 
----
 
----
  
==={{RLVaCommandHeader|fartouch|{{RLVaOptional|{{RLVaParameter|distance}}}}|{{RLVaCommandType|ny}}}}===
+
==={{RLVaCommandHeader|fartouch|{{RLVaOptional|:{{RLVaParameter|distance}}}}|{{RLVaCommandType|ny}}}}===
  
* <span class="rlvacmd"><distance></span> Optional parameter that allows a distance to specified, if omitted default is 1.5m  
+
* <span class="rlvacmd">{{RLVaOptional|{{RLVaParameter|distance}}}}</span> Optional parameter that allows a distance to specified, if omitted default is 1.5m  
  
 
Limit touching to within the specified radius from the users centre. if set more than once, the lowest distance is in effect.
 
Limit touching to within the specified radius from the users centre. if set more than once, the lowest distance is in effect.
Line 35: Line 41:
 
If a distance is omitted, prevents the user touching objects more
 
If a distance is omitted, prevents the user touching objects more
  
'''NOTE:''' The distance is not an exception so don't use {{RLVaCommand|fartouch||n}} followed by {{RLVaCommand|fartouch|20|n}} since that will set the fartouch distance to the default 1.5m instead of the intended 20m
+
'''NOTE:''' The distance is not an exception so don't use {{RLVaCommand|fartouch||n}} followed by {{RLVaCommand|fartouch|:20|n}} since that will set the fartouch distance to the default 1.5m instead of the intended 20m
  
  
  
 
[[Category:RLVa]]
 
[[Category:RLVa]]

Latest revision as of 16:38, 21 June 2016

Avatar control commands

@adjustheight:<value>[;<factor>][;<distance>]=force

Sets vertical offset raising or lowering the avatar with roughly a -200 to 200 range.

Avatar Z Offset = ( <value> * [<factor>] ) + [<distance>]

  • [<factor>] Optional factor defaults to 0.01
  • [<distance>] Optional distance that is generally not required.


The following both set the offset to 0.03 @adjustheight:3=force @adjustheight:0.03;1=force


@edit=<n|y>

Prevent editing objects rezzed in world and attached to the user

  • Any active selections will be dropped.
  • Edit floater will remain open but switch to the build tab.
  • New objects can be placed (from inventory and via build) but the selection instantly drops.
  • Terrain can still be edited (terraforming & parcel division).
  • Buying objects is not affected.

@fartouch[:<distance>]=<n|y>

  • [<distance>] Optional parameter that allows a distance to specified, if omitted default is 1.5m

Limit touching to within the specified radius from the users centre. if set more than once, the lowest distance is in effect.

  • The user will be unable to touch, move or edit objects beyond the distance.
  • Mouse cursor will not change to indicate objects out of range can be interacted with by touch.
  • Edit selections will drop as objects go out of range.

If a distance is omitted, prevents the user touching objects more

NOTE: The distance is not an exception so don't use @fartouch=n followed by @fartouch:20=n since that will set the fartouch distance to the default 1.5m instead of the intended 20m