The Visible Command

Usage

    visible [name] flag

Description

The visible command makes an object either visible or invisible. All objects are visible by default. When an object is invisible, it cannot be seen nor clicked on by users. However, it can still be bumped. Thus, a common use for the visible command is to plant invisible "trigger" objects in a world that trigger certain actions (web pages, sounds, etc.) when a user walks over them.

Note that the Activate trigger will not work with an object which has been made visible off and also that surfaces which are invisible by design or hidden by a texture mask can not be made visible by using visible on which is intended rather to reverse the effect of the visible off action.

The optional name argument specifies the name of the object to be made visible or invisible. Object names are assigned via the name command. If omitted, the visible command applies to this object.

The flag argument is required and specifies whether the object should be made visible or invisible. flag can be either "on", "true", or "yes" to make an object visible, and either "off", "false", or "no" to make an object invisible.

Note: a problem in earlier versions of Active Worlds with using the visible command on "facer" objects was resolved in Active Worlds 3.0. In 3.0 and later it is now safe to use the visible command on facers.

Examples

    create visible off

This creates an invisible object.

    bump visible sign on

This creates an object which when bumped makes the object named "sign" visible. The "sign" object in turn would have an action like this:

    create name sign, visible off