Difference between revisions of "Avatar Commands"

From Catznip
Jump to navigation Jump to search
({{RLVaCommandHeader|adjustheight|{{RLVaParameter|value}}{{RLVaOptional|;{{RLVaParameter|factor}};{{RLVaParameter|distance}}}}|{{RLVaCommandType|force}}}})
({{RLVaCommandHeader|adjustheight|{{RLVaParameter|value}}{{RLVaOptional|;{{RLVaParameter|factor}}}}{{RLVaOptional|;{{RLVaParameter|distance}}}}|{{RLVaCommandType|force}}}})
Line 2: Line 2:
  
 
==={{RLVaCommandHeader|adjustheight|{{RLVaParameter|value}}{{RLVaOptional|;{{RLVaParameter|factor}}}}{{RLVaOptional|;{{RLVaParameter|distance}}}}|{{RLVaCommandType|force}}}}===
 
==={{RLVaCommandHeader|adjustheight|{{RLVaParameter|value}}{{RLVaOptional|;{{RLVaParameter|factor}}}}{{RLVaOptional|;{{RLVaParameter|distance}}}}|{{RLVaCommandType|force}}}}===
Sets the '''AvatarHoverOffsetZ''' debug setting raising or lowering the avatar. The debug setting has roughly a -200 to 200 range.
+
Sets vertical offset raising or lowering the avatar with roughly a -200 to 200 range.
  
 
'''AvatarHoverOffsetZ''' = (<span class="rlvacmd"><value> * {{RLVaOptional|{{RLVaParameter|factor}}}}) + {{RLVaOptional|{{RLVaParameter|distance}}}}</span>
 
'''AvatarHoverOffsetZ''' = (<span class="rlvacmd"><value> * {{RLVaOptional|{{RLVaParameter|factor}}}}) + {{RLVaOptional|{{RLVaParameter|distance}}}}</span>
Line 10: Line 10:
  
  
The following both set the '''AvatarHoverOffsetZ''' to 0.03
+
The following both set the offset to 0.03
 
<code>
 
<code>
 
{{RLVaCommand|adjustheight|3|{{RLVaCommandType|force}}}}
 
{{RLVaCommand|adjustheight|3|{{RLVaCommandType|force}}}}

Revision as of 15:28, 8 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.

AvatarHoverOffsetZ = (<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 @adjustheight3=force @adjustheight0.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 @fartouch20=n since that will set the fartouch distance to the default 1.5m instead of the intended 20m