Visible: Difference between revisions

From Virtual Paradise Wiki
Jump to navigation Jump to search
Talisan (talk | contribs)
Created page with "{{feature|N/A|0.1.0|||}} The '''visible''' command controls the visibility state of an object in the world. ==Usage== '''visible''' state [''tag=''] [''name=''] [''radius=''] [''global''] ==Arguments== ; State : Specify whether the object should be visible, hidden, or toggled.<br>'''Values:''' <code>on</code>, <code>off</code>, <code>toggle</code>, <code>1</code>, <code>0</code><br>'''Default:''' <code>on</code> ; Tag : Restricts the visibility change to a specific..."
 
Talisan (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:


==Arguments==
==Arguments==
; State : Specify whether the object should be visible, hidden, or toggled.<br>'''Values:''' <code>on</code>, <code>off</code>, <code>toggle</code>, <code>1</code>, <code>0</code><br>'''Default:''' <code>on</code>
; State : Specifies the visiblity state.(see [[Boolean]] for more information)<br>'''Values:''' on or off<br>'''Default:''' on
; Tag : Restricts the visibility change to a specific material or texture tag within the model (RWX/OBJ formats).<br>'''Default:''' None.
; Tag : Restricts the visibility change to a specific material or texture tag within the model (RWX/OBJ formats).<br>'''Default:''' None.
; Name : The name of the object(s) to initiate the command on (see [[Name]] for more information).<br>'''Default:''' Current object only
; Name : The name of the object(s) to initiate the command on (see [[Name]] for more information).<br>'''Default:''' Current object only

Latest revision as of 07:00, 15 September 2026

Visible
Build required N/A
Version required 0.1.0


The visible command controls the visibility state of an object in the world.

Usage

   visible state [tag=] [name=] [radius=] [global]

Arguments

State
Specifies the visiblity state.(see Boolean for more information)
Values: on or off
Default: on
Tag
Restricts the visibility change to a specific material or texture tag within the model (RWX/OBJ formats).
Default: None.
Name
The name of the object(s) to initiate the command on (see Name for more information).
Default: Current object only
Radius
Applies the command to all matching objects within a specified distance in meters.
Default: None
Global
Broadcasts the visibility change to all nearby users in the world.
Default: Local to the user only

Examples

create visible off

Hides the object completely when rendered in the world upon loading.

create visible off tag=glass

Hides only the material tagged glass on the model while leaving the rest of the object visible.

create visible off; activate visible on

Hides the object when loaded and makes it fully visible when clicked.

bump visible off; bumpend visible on

Hides the object while an avatar collides with it and makes it visible again when collision ends.

create visible off, solid on

Hiding an object renders it invisible, but does not disable its collision. To create an invisible collision wall, keep Solid set to on.

Object Scripting

Triggers:

ActivateAdoneBumpBumpendCreate

Commands:

AnimateAnimationAmbientCameraColorDiffuseFrameFramerateGroupLightMoveNameNoiseNormalmapOpacityPathPictureRotateSayShearScaleSignSolidSoundSpecularSpecularmapTeleportTeleportxTeleportxyzTextureUrlVisibleWeb